diff --git a/ChangeLog b/ChangeLog index 14680db8eb8..35763375792 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-10-04 Thiago Jung Bauermann + + * MAINTAINERS: Add myself to write after approval. + 2024-09-27 Christophe Lyon * MAINTAINERS: Add myself as MVE Reviewer for the AArch32 (arm) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c84a973e5d..4983a471aa6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,117 @@ +2024-10-04 David Malcolm + + PR other/116978 + * diagnostic-format-sarif.cc (sarif_builder::sarif_builder): + Gracefully handle "main_input_filename_" being NULL. + (sarif_output_format::sarif_output_format): Replace param + "base_file_name" with "output_file" and assert that the file + was opened successfully and has a non-NULL filename. + (sarif_output_format::~sarif_file_output_format): Move + responsibility for building the filename and opening the file from + here to the creator of the instance. + (sarif_output_format::m_base_file_name): Replace with... + (sarif_output_format::m_output_file): ...this. + (diagnostic_output_format_init_sarif_file): Make "line_maps" param + non-const. Gracefully handle "base_file_name" being NULL. + Construct the filename and open the file here, rather than in + ~sarif_file_output_format, and handle failures immediately here, + rather than at the end of the compile. + * diagnostic-format-sarif.h: Include "diagnostic-output-file.h". + (diagnostic_output_format_init_sarif_file): Make "line_maps" param + non-const. + * diagnostic-output-file.h: New file. + * diagnostic.cc (diagnostic_context::emit_diagnostic): New. + (diagnostic_context::emit_diagnostic_va): New. + * diagnostic.h (diagnostic_context::emit_diagnostic): New decl. + (diagnostic_context::emit_diagnostic_va): New decl. + +2024-10-04 H.J. Lu + + PR target/116962 + * config/i386/i386.cc (ix86_stack_protect_runtime_enabled_p): New + function. + (TARGET_STACK_PROTECT_RUNTIME_ENABLED_P): New. + +2024-10-04 Saurabh Jha + + PR target/116934 + * config/aarch64/iterators.md: Move UNSPEC_COND_SMAX and + UNSPEC_COND_SMIN to correct iterators. + +2024-10-04 Georg-Johann Lay + + PR target/116953 + * config/avr/avr.cc (avr_out_sbxx_branch): Work on a copy of + the operands rather than on operands itself, which is just + recog_data.operand and may be clobbered by jump_over_one_insn_p. + +2024-10-04 Andrew Pinski + + * cfgexpand.cc (add_scope_conflicts_1): Expand comment + on when non-var clobbers show up. + +2024-10-04 Georg-Johann Lay + + * config/avr/avr.cc (avr_floatn_mode): Remove. + (TARGET_FLOATN_MODE): Remove. + +2024-10-04 Georg-Johann Lay + + * config/avr/avr.cc (avr_floatn_mode): New static function. + (TARGET_FLOATN_MODE): New define. + +2024-10-04 Kyrylo Tkachov + + * config/aarch64/tuning_models/generic_armv9_a.h + (generic_armv9a_prefetch_tune): Define. + (generic_armv9_a_tunings): Use the above. + +2024-10-04 Andre Vieira + + PR target/116444 + * config/arm/arm-protos.h (arm_noce_conversion_profitable_p): New + declaration. + * config/arm/arm.cc (arm_is_v81m_cond_insn): New helper function used + in ... + (arm_noce_conversion_profitable_p): ... here. New function to implement + ... + (TARGET_NOCE_PROFITABLE_P): ... this target hook. New define. + +2024-10-04 Richard Biener + + * tree-vect-loop.cc (vect_analyze_loop_2): Derement 'slp' + before dumping which stage we're starting. + +2024-10-04 Jakub Jelinek + + PR pch/116936 + * diagnostic.cc (diagnostic_option_classifier::pch_save): Only call + fwrite if corresponding length is non-zero. + (diagnostic_option_classifier::pch_restore): Only call fread if + corresponding length is non-zero. + +2024-10-04 Jakub Jelinek + + PR target/116921 + * config/i386/i386-expand.cc (ix86_expand_int_compare): Add a SUBREG + to V8HImode from V8HFmode or V8BFmode before generating a ptest. + +2024-10-04 Jakub Jelinek + + PR target/116925 + * config/i386/sse.md (*minmax3_2): Assign force_reg result + back to operands[2] instead of throwing it away. + +2024-10-04 Gerald Pfeifer + + PR target/69374 + * doc/install.texi (Specific) : Drop GCC 2.6 + ABI change note. + +2024-10-04 Sam James + + * gimplify.cc (gimple_add_init_for_auto_var): Fix 'variable' typo. + 2024-10-03 Eric Botcazou * config/aarch64/aarch64.h (WIDEST_HARDWARE_FP_SIZE): Define to 64. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index ec7372fbdf8..21c32c43dc9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241004 +20241005 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 012a2a2d8fd..ead65873c8a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,30 @@ +2024-10-04 Nathaniel Shead + + PR c++/113266 + PR c++/116911 + * parser.cc (cp_parser_template_argument): Allow + internal-linkage variables since C++11. + +2024-10-04 Nathaniel Shead + + PR c++/116913 + * name-lookup.cc (update_binding): Return the strip_using'd old + decl rather than the binding. + +2024-10-04 Jason Merrill + Richard Biener + + * cp-tree.h (spec_entry::hash): New member. + * pt.cc (spec_hasher::hash): Set it and return it. + (maybe_process_partial_specialization): Clear it when + changing tmpl/args. + (lookup_template_class): Likewise, don't pass hash to find. + (retrieve_specialization): Set it, don't pass hash to find. + (register_specialization): Don't pass hash to find. + (reregister_specialization): Likewise. + (match_mergeable_specialization): Likewise. + (add_mergeable_specialization): Likewise. + 2024-10-03 Jason Merrill Richard Biener diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 3c7f6d58dee..d2e35d4e868 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,9 @@ +2024-10-04 Gaius Mulley + + PR modula2/116918 + * gm2-compiler/M2Swig.mod (DoCheckUnbounded): Escape + the % character used in array_functions with %%. + 2024-10-01 Gaius Mulley * gm2-libs/Indexing.def (FindIndice): New procedure diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 72b5af01021..e954589253d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,100 @@ +2024-10-04 H.J. Lu + + PR target/116962 + * gcc.target/i386/pr116962.c: New file. + +2024-10-04 Saurabh Jha + + PR target/116934 + * gcc.target/aarch64/sve2/pr116934.c: New test. + +2024-10-04 Georg-Johann Lay + + PR target/116953 + * gcc.target/avr/torture/pr116953.c: New test. + +2024-10-04 Georg-Johann Lay + + * lib/target-supports.exp (check_effective_target_double_float32xplus): + New proc. + * gcc.dg/torture/float32x-builtin.c: Add + dg-require-effective-target double_float32xplus. + * gcc.dg/torture/float32x-tg-2.c: Same. + * gcc.dg/torture/float32x-tg.c: Same. + * gcc.dg/torture/float64-builtin.c: Add + dg-require-effective-target double64plus. + * gcc.dg/torture/float64-tg-2.c: Same. + * gcc.dg/torture/float64-tg.c: Same. + +2024-10-04 Thiago Jung Bauermann + + * gcc.target/arm/pr59858.c: Add -fpermissive. + * gcc.target/arm/pr65647.c: Likewise. + * gcc.target/arm/pr65710.c: Likewise. + * gcc.target/arm/pr97969.c: Likewise. + +2024-10-04 Jakub Jelinek + + * g++.dg/cpp26/unevalstr1.C: Revert the 2024-10-03 changes, instead + expect extra warnings. Add another set of tests without space + between " and _. + * g++.dg/cpp26/unevalstr2.C: Expect extra warnings for C++23. Add + another set of tests without space between " and _. + +2024-10-04 Jakub Jelinek + + PR target/116921 + * gcc.target/i386/pr116921.c: New test. + +2024-10-04 Jakub Jelinek + + PR target/116925 + * g++.target/i386/avx-pr116925.C: New test. + +2024-10-04 Nathaniel Shead + + PR c++/113266 + PR c++/116911 + * g++.dg/cpp0x/nontype6.C: New test. + +2024-10-04 Nathaniel Shead + + PR c++/116913 + * g++.dg/lookup/using70.C: New test. + +2024-10-04 Richard Biener + + * gcc.dg/vect/pr65947-8.c: Adjust. + +2024-10-04 Richard Biener + + PR tree-optimization/99856 + * gcc.dg/vect/pr99856.c: Fix copy&paste errors. + +2024-10-04 Sam James + + * gcc.dg/Wstringop-overflow-79.c: Fix index for notes. + * gcc.dg/Wstringop-overflow-80.c: Ditto. + +2024-10-04 Sam James + + * c-c++-common/analyzer/flex-without-call-summaries.c: Add missing brace. + * c-c++-common/analyzer/malloc-callbacks.c: Ditto. + * gcc.dg/Wstringop-overflow-79.c: Ditto. + * gcc.dg/Wstringop-overflow-80.c: Ditto. + +2024-10-04 Georg-Johann Lay + + * gcc.c-torture/execute/ieee/pr108540-1.c: Un-preprocess + __SIZE_TYPE__ and __INT64_TYPE__. + * gcc.c-torture/execute/ieee/pr108540-1.x: New file, requires double64. + +2024-10-04 Sam James + + * gnat.dg/pack13.adb: Fix 'dg-...' directive syntax. + * gnat.dg/size_attribute.adb: Ditto. + * gnat.dg/subp_elim_errors.adb: Ditto. + 2024-10-03 Eric Botcazou * gnat.dg/specs/size_clause6.ads: New test. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index bc5309e0120..53a1362c38e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2024-10-04 Tsung Chun Lin + + * config/riscv/save-restore.S: Fix .cfi_offset for saving ra in + __riscv_save_[0-3] on ilp32e. + 2024-10-01 Tsung Chun Lin * config/riscv/save-restore.S: Fix .cfi_offset for diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8962d9a3a4f..7dad0a154ab 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,56 @@ +2024-10-04 Patrick Palka + + * include/std/ranges (single_view::empty): Define as per LWG 4035. + (iota_view::empty): Define as per LWG 4001. + (lazy_split_view::_OuterIter::value_type): Remove default + constructor and make other constructor private as per LWG 4013. + (common_view::begin): Disable non-const overload for simple + views as per LWG 4012. + (common_view::end): Likewise. + (adjacent_view::base): Define as per LWG 3848. + (adjacent_transform_view::base): Likewise. + (chunk_view::_InnerIter::iter_move): Define as per LWG 3851. + (chunk_view::_InnerIter::itep_swap): Likewise. + (slide_view::base): Define as per LWG 3848. + (repeat_view): Adjust deduction guide as per LWG 4053. + (_Repeat::operator()): Adjust single-parameter overload as per + LWG 4054. + * testsuite/std/ranges/adaptors/adjacent/1.cc: Verify existence + of base member function. + * testsuite/std/ranges/adaptors/adjacent_transform/1.cc: Likewise. + * testsuite/std/ranges/adaptors/chunk/1.cc: Test LWG 3851 example. + * testsuite/std/ranges/adaptors/slide/1.cc: Verify existence of + base member function. + * testsuite/std/ranges/iota/iota_view.cc: Test LWG 4001 example. + * testsuite/std/ranges/repeat/1.cc: Test LWG 4053/4054 examples. + +2024-10-04 Jonathan Wakely + + * include/parallel/algobase.h (search): Use sequential algorithm + for constant evaluation. + * include/parallel/algorithmfwd.h (search): Add + _GLIBCXX20_CONSTEXPR. + * include/parallel/multiway_merge.h: Remove stray semi-colon. + * include/parallel/multiseq_selection.h: Add diagnostic pragmas + for -Wlong-long warning. + * include/parallel/quicksort.h: Likewise. + * include/parallel/random_number.h: Likewise. + * include/parallel/settings.h: Likewise. + * include/parallel/workstealing.h: Replace ++ and -- on volatile + variables. + * testsuite/17_intro/names.cc: Skip names defined by + . + * testsuite/20_util/pair/dangling_ref.cc: Skip test if Parallel + Mode is enabled. + * testsuite/20_util/tuple/dangling_ref.cc: Likewise. + +2024-10-04 Jonathan Wakely + + PR libstdc++/116964 + * include/std/shared_mutex (__shared_mutex_cv): Use [this] for + lambda captures. + (shared_timed_mutex) [!_GLIBCXX_USE_PTHREAD_RWLOCK_T]: Likewise. + 2024-10-03 Jonathan Wakely * include/bits/unicode.h (__unicode::__is_incb_linker): Use