https://gcc.gnu.org/g:c6d9b8023b8f2bbc52c5bd51e9c648fa096ed88a
commit r16-3339-gc6d9b8023b8f2bbc52c5bd51e9c648fa096ed88a Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Fri Aug 22 00:20:38 2025 +0000 Daily bump. Diff: --- ChangeLog | 5 ++ gcc/ChangeLog | 74 ++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 9 +++ gcc/cp/ChangeLog | 11 ++++ gcc/fortran/ChangeLog | 17 ++++++ gcc/testsuite/ChangeLog | 59 +++++++++++++++++++ libgcc/ChangeLog | 9 +++ libstdc++-v3/ChangeLog | 151 ++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 336 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f1255e5e76b..289e291e2aa8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-08-21 Richard Sandiford <rdsandif...@googlemail.com> + + * MAINTAINERS: Update my email address and stand down as AArch64 + maintainer. + 2025-08-18 Spencer Abson <spencer.ab...@student.manchester.ac.uk> * MAINTAINERS: Update my email address. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b59682f9440..53926550eb47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,77 @@ +2025-08-21 Dimitar Dimitrov <dimi...@dinux.eu> + + * config/pru/pru.cc (pru_init_libfuncs): Set softmpy libgcc + functions for optab multiplication entries if TARGET_OPT_MUL + option is not set. + +2025-08-21 Dimitar Dimitrov <dimi...@dinux.eu> + + * config.gcc: Include pru/t-multilib. + * config/pru/pru.h (MULTILIB_DEFAULTS): Define. + * config/pru/t-multilib: New file. + +2025-08-21 Dimitar Dimitrov <dimi...@dinux.eu> + + * common/config/pru/pru-common.cc (TARGET_DEFAULT_TARGET_FLAGS): + Keep multiplication, FILL and ZERO instructions enabled by + default. + * config/pru/pru.md (prumov<mode>): Gate code generation on + TARGET_OPT_FILLZERO. + (mov<mode>): Ditto. + (zero_extendqidi2): Ditto. + (zero_extendhidi2): Ditto. + (zero_extendsidi2): Ditto. + (@pru_ior_fillbytes<mode>): Ditto. + (@pru_and_zerobytes<mode>): Ditto. + (@<code>di3): Ditto. + (mulsi3): Gate code generation on TARGET_OPT_MUL. + * config/pru/pru.opt: Add mmul and mfillzero options. + * config/pru/pru.opt.urls: Regenerate. + * config/rl78/rl78.opt.urls: Regenerate. + * doc/invoke.texi: Document new options. + +2025-08-21 Richard Sandiford <richard.sandif...@arm.com> + + PR rtl-optimization/121619 + * rtl-ssa/functions.h (function_info::commit_make_use_available): + Declare. + * rtl-ssa/blocks.cc (function_info::commit_make_use_available): + New function. + * rtl-ssa/changes.cc (function_info::apply_changes_to_insn): Use it. + +2025-08-21 Richard Biener <rguent...@suse.de> + + PR tree-optimization/111494 + * gimple-fold.h (arith_code_with_undefined_signed_overflow): Declare. + * gimple-fold.cc (arith_code_with_undefined_signed_overflow): Export. + * tree-vect-stmts.cc (vectorizable_operation): Use unsigned + arithmetic for operations participating in a reduction. + +2025-08-21 H.J. Lu <hjl.to...@gmail.com> + + PR target/121607 + * config/i386/i386-features.cc (ix86_emit_tls_call): Emit the + TLS call after NOTE_INSN_BASIC_BLOCK in a basic block with only + a label. + +2025-08-21 Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> + + * config/xtensa/xtensa.md (*btrue_INT_MIN): + Change the branch insn condition to test for a negative number + rather than testing for the MSB. + +2025-08-21 Richard Biener <rguent...@suse.de> + + * tree-vectorizer.h (vectorizable_phi): Take bb_vec_info. + (vectorizable_early_exit): Take loop_vec_info. + * tree-vect-loop.cc (vectorizable_phi): Adjust. + * tree-vect-slp.cc (vect_slp_analyze_operations): Likewise. + (vectorize_slp_instance_root_stmt): Likewise. + * tree-vect-stmts.cc (vectorizable_early_exit): Likewise. + (vect_transform_stmt): Likewise. + (vect_analyze_stmt): Merge the sequences of vectorizable_* + where common. + 2025-08-20 Qing Zhao <qing.z...@oracle.com> * common.opt.urls: Regenerate. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 56ada40236dd..7d0185db72cc 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250821 +20250822 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index b532ca6c6d42..589f029be3e5 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2025-08-21 Andrew Pinski <andrew.pin...@oss.qualcomm.com> + + PR c/121478 + * c-fold.cc (c_fully_fold_internal): Fold nullptr_t ==/!= nullptr_t. + * c-typeck.cc (convert_arguments): Handle conversion from nullptr_t + for varargs. + (convert_for_assignment): Handle conversions from nullptr_t to + pointer type specially. + 2025-08-18 Indu Bhagat <indu.bha...@oracle.com> * c-parser.cc (c_parser_declaration_or_fndef): Use diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 56ce34403128..265899403c8a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,14 @@ +2025-08-21 Jason Merrill <ja...@redhat.com> + + PR c++/121068 + * constexpr.cc (cxx_eval_store_expression): Allow clobber of a const + object. + +2025-08-21 Jason Merrill <ja...@redhat.com> + + PR c++/120757 + * pt.cc (tsubst_expr) [OFFSET_REF]: Don't tsubst the type. + 2025-08-20 Marek Polacek <pola...@redhat.com> PR c++/121553 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0546faf8baa3..83dfc76c2bb5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2025-08-21 Steven G. Kargl <ka...@gcc.gnu.org> + + PR fortran/121627 + * module.cc (create_int_parameter_array): Avoid NULL + pointer dereference and enhance error message. + +2025-08-21 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/84122 + PR fortran/85942 + * parse.cc (parse_derived): PDT type parameters are not allowed + an explicit access specification and must appear before a + PRIVATE statement. If a PRIVATE statement is seen, mark all the + other components as PRIVATE. + * simplify.cc (get_kind): Convert a PDT KIND component into a + specification expression using the default initializer. + 2025-08-20 Jerry DeLisle <jvdeli...@gcc.gnu.org> * intrinsic.texi: Correct the example given for FRACTION. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6acd48f0da4b..edd964025ede 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,62 @@ +2025-08-21 Steven G. Kargl <ka...@gcc.gnu.org> + + PR fortran/121627 + * gfortran.dg/pr121627.f90: New test. + +2025-08-21 Andrew Pinski <andrew.pin...@oss.qualcomm.com> + + PR c/121478 + * gcc.dg/torture/pr121478-1.c: New test. + +2025-08-21 Jason Merrill <ja...@redhat.com> + + PR c++/121068 + * g++.dg/cpp2a/constexpr-dtor18.C: New test. + +2025-08-21 Paul-Antoine Arras <par...@baylibre.com> + + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmacc-run-1-f16.c: Call + check_effective_target_riscv_zvfh_ok rather than + check_effective_target_riscv_zvfh. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmadd-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmsac-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmsub-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfnmacc-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfnmadd-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfnmsac-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfnmsub-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfwmacc-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfwmsac-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfwnmacc-run-1-f16.c: Likewise. + * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfwnmsac-run-1-f16.c: Likewise. + * lib/target-supports.exp (check_effective_target_riscv_zvfh_ok): Append + zvfh instead of v to march. + (remove_options_for_riscv_zvfh): Remove duplicate and + call remove_ rather than add_options_for_riscv_z_ext. + +2025-08-21 Richard Sandiford <richard.sandif...@arm.com> + + PR rtl-optimization/121619 + * gcc.dg/pr121619.c: New test. + +2025-08-21 H.J. Lu <hjl.to...@gmail.com> + + PR target/121607 + * gcc.target/i386/pr121607-1a.c: New test. + * gcc.target/i386/pr121607-1b.c: Likewise. + +2025-08-21 Paul Thomas <pa...@gcc.gnu.org> + + PR fortran/84122 + PR fortran/85942 + * gfortran.dg/pdt_38.f03: New test. + * gfortran.dg/pdt_39.f03: New test. + +2025-08-21 Jason Merrill <ja...@redhat.com> + + PR c++/120757 + * g++.dg/cpp1y/auto-fn66.C: New test. + 2025-08-20 Marek Polacek <pola...@redhat.com> PR c++/121553 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 09173f0e56fa..23f32f1a1e25 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,12 @@ +2025-08-21 Dimitar Dimitrov <dimi...@dinux.eu> + + * config/pru/libgcc-eabi.ver: Add __pruabi_softmpyi and + __pruabi_softmpyll symbols. + * config/pru/t-pru: Add softmpy source files. + * config/pru/pru-softmpy.h: New file. + * config/pru/softmpyi.c: New file. + * config/pru/softmpyll.c: New file. + 2025-08-13 Yang Yujie <yangyu...@loongson.cn> PR target/117599 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3d6ad8210035..ed99f9f1ea4c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,154 @@ +2025-08-21 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/121496 + * acinclude.m4 (GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK): Do not + use _GLIBCXX_TSAN in _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK macro. + * configure: Regenerate. + +2025-08-21 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/121496 + * include/std/mutex (__timed_mutex_impl::_M_try_wait_until): + Change preprocessor condition to use #if instead of #ifdef. + (recursive_timed_mutex::_M_clocklock): Likewise. + * testsuite/30_threads/timed_mutex/121496.cc: New test. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + PR libstdc++/120994 + * include/bits/version.def (aligned_accessor): Add. + * include/bits/version.h: Regenerate. + * include/std/mdspan (aligned_accessor): New class. + * src/c++23/std.cc.in (aligned_accessor): Add. + * testsuite/23_containers/mdspan/accessors/generic.cc: Add tests + for aligned_accessor. + * testsuite/23_containers/mdspan/accessors/aligned_neg.cc: New test. + * testsuite/23_containers/mdspan/version.cc: Add test for + __cpp_lib_aligned_accessor. + * testsuite/23_containers/mdspan/accessors/debug/aligned_access_neg.cc: New file. + * testsuite/23_containers/mdspan/accessors/debug/aligned_offset_neg.cc: New file. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + PR libstdc++/120994 + * include/bits/align.h (is_sufficiently_aligned): New function. + * include/bits/version.def (is_sufficiently_aligned): Add. + * include/bits/version.h: Regenerate. + * include/std/memory: Add __glibcxx_want_is_sufficiently_aligned. + * src/c++23/std.cc.in (is_sufficiently_aligned): Add. + * testsuite/20_util/headers/memory/version.cc: Add test for + __cpp_lib_is_sufficiently_aligned. + * testsuite/20_util/is_sufficiently_aligned/1.cc: New test. + +2025-08-21 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/121374 + * include/std/limits (numeric_limits<__float128>::max_digits10): + Fix value. + * testsuite/18_support/numeric_limits/128bit.cc: Check value. + +2025-08-21 Jonathan Wakely <jwak...@redhat.com> + + PR c++/117294 + * testsuite/20_util/optional/cons/value_neg.cc: Prune additional + output for C++20 and later. + * testsuite/20_util/scoped_allocator/69293_neg.cc: Match + additional error for C++20 and later. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/bits/version.def (mdspan): Set value for C++26. + * include/bits/version.h: Regenerate. + * include/std/mdspan (dims): Add. + * src/c++23/std.cc.in (dims): Add. + * testsuite/23_containers/mdspan/extents/misc.cc: Add tests. + * testsuite/23_containers/mdspan/version.cc: Update test. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__static_prod): Delete. + (__fwd_partial_prods): Compute at compile-time in O(rank), not + O(rank**2). + (__rev_partial_prods): Ditto. + (__size): Inline __static_prod. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__fwd_partial_prods): Reduce size of the + array by 1 element. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__valid_static_extent): Replace + numeric_limits with __int_traits. + (extents::_S_ctor_explicit): Ditto. + (extents::__static_quotient): Ditto. + (layout_stride::mapping::mapping): Ditto. + (mdspan::size): Ditto. + * testsuite/23_containers/mdspan/extents/class_mandates_neg.cc: + Update test with additional diagnostics. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (extents::operator==): Replace loop with + pack expansion. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__mdspan::__all_static): New function. + (__mdspan::_StaticExtents::_S_is_dyn): Inline and eliminate. + (__mdspan::_ExtentsStorage::_S_is_dynamic): New method. + (__mdspan::_ExtentsStorage::_M_extent): Use _S_is_dynamic. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__fwd_prods): Relax condition for fully-dynamic + extents to cover (dyn, ..., dyn, X). + (__rev_partial_prods): Analogous for (X, dyn, ..., dyn). + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__mdspan::__all_dynamic): New function. + (__mdspan::_StaticExtents::_S_dynamic_index): Convert to method. + (__mdspan::_StaticExtents::_S_dynamic_index_inv): Ditto. + (__mdspan::_StaticExtents): New specialization for fully dynamic + extents. + (__mdspan::__fwd_prod): New constexpr if branch to avoid + instantiating __fwd_partial_prods. + (__mdspan::__rev_prod): Ditto. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__mdspan::__fwd_prod): Optimize + for rank <= 2. + (__mdspan::__rev_prod): Ditto. + (__mdspan::__size): Refactor to use a pre-computed product, not + a partial product. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__mdspan::__static_prod): New function. + (__mdspan::__fwd_partial_prods): Constexpr array of partial + forward products. + (__mdspan::__fwd_partial_prods): Same for reverse partial + products. + (__mdspan::__static_extents_prod): Delete function. + (__mdspan::__extents_prod): Renamed from __exts_prod and refactored. + include/std/mdspan (__mdspan::__fwd_prod): Compute as the + product of pre-computed static static and the product of dynamic + extents. + (__mdspan::__rev_prod): Ditto. + +2025-08-21 Luc Grosheintz <luc.groshei...@gmail.com> + + * include/std/mdspan (__mdspan::_StaticExtents): Extract non IndexType + related code from _ExtentsStorage. + (__mdspan::_ExtentsStorage): Use _StaticExtents. + (__mdspan::__static_extents): Return reference to NTTP of _StaticExtents. + (__mdspan::__contains_zero): New overload. + (__mdspan::__exts_prod, __mdspan::__static_quotient): Use span to avoid + copying __sta_exts. + 2025-08-19 Tomasz KamiĆski <tkami...@redhat.com> PR libstdc++/104874