https://gcc.gnu.org/g:54efca1730a883995f7fc38add4dbff35da5e2c6
commit r16-3837-g54efca1730a883995f7fc38add4dbff35da5e2c6 Author: GCC Administrator <[email protected]> Date: Sat Sep 13 00:19:19 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 55 +++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 12 ++++ gcc/testsuite/ChangeLog | 156 ++++++++++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 75 +++++++++++++++++++++++ 5 files changed, 299 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88b452d96e26..c6e84980fc73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,58 @@ +2025-09-12 Jeff Law <[email protected]> + + * lra-constraints.cc (get_equiv): Bounds check before accessing + data in ira_reg_equiv. + +2025-09-12 Edwin Lu <[email protected]> + + * match.pd: New NARROW_CLIP variant for SAT_TRUNC. + * tree-vect-patterns.cc (gimple_unsigned_integer_narrow_clip): + Add new decl for NARROW_CLIP. + (vect_recog_sat_trunc_pattern): Add NARROW_CLIP check. + +2025-09-12 David Malcolm <[email protected]> + + PR diagnostics/120063 + * diagnostics/context.cc (context::execution_failed_p): Also treat + any kind::fatal errors as leading to failed execution. + * diagnostics/sarif-sink.cc (maybe_get_sarif_level): Handle + kind::fatal as SARIF level "error". + +2025-09-12 David Malcolm <[email protected]> + + PR diagnostics/121876 + * diagnostics/buffering.cc (context::set_diagnostic_buffer): Add + early reject of the no-op case. + +2025-09-12 Nathaniel Shead <[email protected]> + + PR c++/121865 + * ipa-free-lang-data.cc (find_decls_types_r): Don't walk into + DECL_CHAIN for any DECL. + +2025-09-12 Eric Botcazou <[email protected]> + + * ipa-pure-const.cc (check_stmt): Minor formatting tweaks. + (pass_data_nothrow): Fix pasto in description. + +2025-09-12 Tamar Christina <[email protected]> + + * internal-fn.def (VEC_TRUNC_ADD_HIGH): New. + * doc/generic.texi: Document it. + * optabs.def (vec_trunc_add_high): New. + * doc/md.texi: Document it. + * tree-vect-stmts.cc (vectorizable_early_exit): Use addhn if supported. + +2025-09-12 Tamar Christina <[email protected]> + + * config/aarch64/aarch64-simd.md (vec_addh_narrow<mode>): New. + +2025-09-12 Tamar Christina <[email protected]> + + * tree-vect-loop.cc (vect_analyze_loop_1): If the unroll pragma was set + mark it as handled. + * doc/extend.texi (pragma GCC unroll): Update documentation. + 2025-09-11 Trevor Gross <[email protected]> * doc/libgcc.texi (Comparison functions): Document functions as diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f06b0c838fbd..7aa594e9c09f 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250912 +20250913 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 272969bd98cc..150c85959e08 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2025-09-12 Patrick Palka <[email protected]> + + PR c++/121795 + * pt.cc (unify) <case PACK_INDEX_TYPE>: New non-deduced context + case. + +2025-09-12 Nathaniel Shead <[email protected]> + + PR c++/121893 + * name-lookup.cc (name_lookup::adl_namespace_fns): Unwrap the + STAT_HACK also when on_inst_path. + 2025-09-11 H.J. Lu <[email protected]> PR c++/121889 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e31ef9462a91..b261f9d1f756 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,159 @@ +2025-09-12 Eric Botcazou <[email protected]> + + PR ada/121532 + * ada/acats-4/tests/cxa/cxai034.a: Use Long_Switch_To_New_Task + constant instead of Switch_To_New_Task in delay statements. + * ada/acats-4/tests/cxa/cxai035.a: Likewise. + * ada/acats-4/tests/cxa/cxai036.a: Likewise. + +2025-09-12 Patrick Palka <[email protected]> + + PR c++/121795 + * g++.dg/cpp26/pack-indexing17.C: New test. + * g++.dg/cpp26/pack-indexing17a.C: New test. + +2025-09-12 Edwin Lu <[email protected]> + + PR target/120378 + * gcc.target/riscv/rvv/autovec/pr120378-1.c: New test. + * gcc.target/riscv/rvv/autovec/pr120378-2.c: New test. + * gcc.target/riscv/rvv/autovec/pr120378-3.c: New test. + * gcc.target/riscv/rvv/autovec/pr120378-4.c: New test. + +2025-09-12 H.J. Lu <[email protected]> + + PR testsuite/121888 + * gcc.target/sparc/tls-ld-int16.c: Compile with -fPIC. + * gcc.target/sparc/tls-ld-int32.c: Likewise. + * gcc.target/sparc/tls-ld-int64.c: Likewise. + * gcc.target/sparc/tls-ld-int8.c: Likewise. + * gcc.target/sparc/tls-ld-uint16.c: Likewise. + * gcc.target/sparc/tls-ld-uint32.c: Likewise. + * gcc.target/sparc/tls-ld-uint8.c: Likewise. + +2025-09-12 David Malcolm <[email protected]> + + PR diagnostics/120063 + * gcc.dg/fatal-error.c: New test. + * gcc.dg/fatal-error-html.py: New test. + * gcc.dg/fatal-error-sarif.py: New test. + +2025-09-12 David Malcolm <[email protected]> + + PR diagnostics/121876 + * gcc.dg/plugin/crash-test-nested-ice-html.py: New test. + * gcc.dg/plugin/crash-test-nested-ice-sarif.py: New test. + * gcc.dg/plugin/crash-test-nested-ice.c: New test. + * gcc.dg/plugin/crash-test-nested-write-through-null-html.py: New test. + * gcc.dg/plugin/crash-test-nested-write-through-null-sarif.py: New test. + * gcc.dg/plugin/crash-test-nested-write-through-null.c: New test. + * gcc.dg/plugin/crash_test_plugin.cc: Add "nested" argument, and when + set, inject the problem within a nested diagnostic. + * gcc.dg/plugin/plugin.exp: Add crash-test-nested-ice.c and + crash-test-nested-write-through-null.c. + +2025-09-12 David Malcolm <[email protected]> + + * gcc.dg/plugin/crash-test-write-though-null-sarif.c: Rename to... + * gcc.dg/plugin/crash-test-write-through-null-sarif.c: ...this. + * gcc.dg/plugin/crash-test-write-though-null-stderr.c: Rename to... + * gcc.dg/plugin/crash-test-write-through-null-stderr.c: ...this. + * gcc.dg/plugin/plugin.exp: Update for above renamings. Sort the + test files for crash_test_plugin.cc alphabetically. + +2025-09-12 Jeff Law <[email protected]> + + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vd4dots.c: + Adjust ABI specification. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vd4dotsu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vd4dotu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vfncvtbf16s.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vfpmadb.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vfpmadt.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vfwcvtsbf16.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/non-overloaded/nds_vln8.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vd4dots.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vd4dotsu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vd4dotu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vfncvtbf16s.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vfpmadb.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vfpmadt.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vfwcvtsbf16.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/non-policy/overloaded/nds_vln8.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vd4dots.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vd4dotsu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vd4dotu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vfncvtbf16s.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vfpmadb.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vfpmadt.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vfwcvtsbf16.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/non-overloaded/nds_vln8.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vd4dots.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vd4dotsu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vd4dotu.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vfncvtbf16s.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vfpmadb.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vfpmadt.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vfwcvtsbf16.c: + Likewise. + * gcc.target/riscv/rvv/xandesvector/policy/overloaded/nds_vln8.c: + Likewise. + +2025-09-12 Nathaniel Shead <[email protected]> + + PR c++/121893 + * g++.dg/modules/adl-10_a.C: New test. + * g++.dg/modules/adl-10_b.C: New test. + +2025-09-12 Nathaniel Shead <[email protected]> + + PR c++/121865 + * g++.dg/lto/pr101396_0.C: Ensure A will be walked into (and + isn't constant-folded out of the GIMPLE for the function). + * g++.dg/lto/pr101396_1.C: Add message. + * g++.dg/modules/lto-4_a.C: New test. + * g++.dg/modules/lto-4_b.C: New test. + +2025-09-12 Tamar Christina <[email protected]> + + * gcc.target/aarch64/vect-early-break-addhn_1.c: New test. + * gcc.target/aarch64/vect-early-break-addhn_2.c: New test. + * gcc.target/aarch64/vect-early-break-addhn_3.c: New test. + * gcc.target/aarch64/vect-early-break-addhn_4.c: New test. + +2025-09-12 Tamar Christina <[email protected]> + + * gcc.target/aarch64/vect-addhn_1.c: New test. + 2025-09-11 Harald Anlauf <[email protected]> PR fortran/121616 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d53d95bcd954..5b061dc647e8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,78 @@ +2025-09-12 Jonathan Wakely <[email protected]> + + PR libstdc++/121913 + * include/bits/ranges_algo.h (__rotate_fn::operator()): Use + ranges::iter_move(it) instead of std::move(*it). + * testsuite/25_algorithms/rotate/121913.cc: New test. + +2025-09-12 Jonathan Wakely <[email protected]> + + PR libstdc++/121890 + * include/bits/ranges_algo.h (ranges::rotate, ranges::shuffle) + (__insertion_sort, __unguarded_partition_pivot, __introselect): + Use ranges::next to advance iterators. Use local variables in + rotate to avoid duplicate expressions. + (ranges::push_heap, ranges::pop_heap, ranges::partial_sort) + (ranges::partial_sort_copy): Use ranges::prev. + (__final_insertion_sort): Use iter_difference_t<Iter> + for operand of operator+ on iterator. + * include/bits/ranges_base.h (ranges::advance): Use iterator's + difference_type for all iterator arithmetic. + * include/bits/stl_algo.h (__search_n_aux, __rotate) + (__insertion_sort, __unguarded_partition_pivot, __introselect) + (__final_insertion_sort, for_each_n, random_shuffle): Likewise. + Use local variables in __rotate to avoid duplicate expressions. + * include/bits/stl_algobase.h (__fill_n_a, __lc_rai::__newlast1): + Likewise. + * include/bits/stl_heap.h (push_heap): Likewise. + (__is_heap_until): Add static_assert. + (__is_heap): Convert distance to difference_type. + * include/std/functional (boyer_moore_searcher::operator()): Use + iterator's difference_type for iterator arithmetic. + * testsuite/util/testsuite_iterators.h + (random_access_iterator_wrapper): Add deleted overloads of + operators that should be called with difference_type. + * testsuite/24_iterators/range_operations/advance.cc: Use + ranges::next. + * testsuite/25_algorithms/heap/constrained.cc: Use ranges::next + and ranges::prev. + * testsuite/25_algorithms/nth_element/58800.cc: Use std::next. + * testsuite/25_algorithms/nth_element/constrained.cc: Use + ptrdiff_t for loop variable. + * testsuite/25_algorithms/nth_element/random_test.cc: Use + iterator's difference_type instead of int. + * testsuite/25_algorithms/partial_sort/check_compare_by_value.cc: + Use std::next. + * testsuite/25_algorithms/partial_sort/constrained.cc: Use + ptrdiff_t for loop variable. + * testsuite/25_algorithms/partial_sort/random_test.cc: Use + iterator's difference_type instead of int. + * testsuite/25_algorithms/partial_sort_copy/constrained.cc: + Use ptrdiff_t for loop variable. + * testsuite/25_algorithms/partial_sort_copy/random_test.cc: + Use iterator's difference_type instead of int. + * testsuite/std/ranges/adaptors/drop.cc: Use ranges::next. + * testsuite/25_algorithms/fill_n/diff_type.cc: New test. + * testsuite/25_algorithms/lexicographical_compare/diff_type.cc: + New test. + +2025-09-12 Jonathan Wakely <[email protected]> + + PR libstdc++/117276 + * include/pstl/parallel_backend_tbb.h (__func_task::finalize): + Make deallocation unconditional. + +2025-09-12 Jonathan Wakely <[email protected]> + + PR libstdc++/121046 + * include/debug/bitset (bitset(const CharT*, ...)): Add + constraints on CharT type. + +2025-09-12 Jonathan Wakely <[email protected]> + + * config/cpu/generic/atomicity_mutex/atomicity.h + (__exchange_and_add): Use const_cast to remove volatile. + 2025-09-11 Jonathan Wakely <[email protected]> PR libstdc++/71945
