aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2025-09-05 00:19:51 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2025-09-05 00:19:51 +0000
commite4755f9523e8e42b48f4a645260023e77f4d983f (patch)
tree86eaa1d1fa19c0b8c06313fe74c5da096a3aeca8
parentd6f31c8d579f44bf8383ce1fcc1f2bb05c8d8df2 (diff)
downloadgcc-e4755f9523e8e42b48f4a645260023e77f4d983f.zip
gcc-e4755f9523e8e42b48f4a645260023e77f4d983f.tar.gz
gcc-e4755f9523e8e42b48f4a645260023e77f4d983f.tar.bz2
Daily bump.
-rw-r--r--ChangeLog4
-rw-r--r--gcc/ChangeLog156
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog20
-rw-r--r--gcc/testsuite/ChangeLog142
-rw-r--r--libstdc++-v3/ChangeLog67
6 files changed, 390 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a0a96bc..18cc0d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2025-09-04 Wilco Dijkstra <wilco.dijkstra@arm.com>
+
+ * MAINTAINERS (Reviewers): Add myself for the aarch64 port.
+
2025-09-03 Alice Carlotti <alice.carlotti@arm.com>
* MAINTAINERS: Add myself as an aarch64 port reviewer.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d8aa47..654b113 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,159 @@
+2025-09-04 Pan Li <pan2.li@intel.com>
+
+ * config/riscv/autovec-opt.md (*vmacc_vx_<mode>): Rename to
+ handle both the macc and madd.
+ (*mul_plus_vx_<mode>): Add madd pattern.
+ * config/riscv/vector.md (@pred_mul_plus_vx_<mode>): Rename to
+ handle both the macc and madd.
+ (*pred_macc_<mode>_scalar_undef): Remove.
+ (*pred_nmsac_<mode>_scalar_undef): Remove.
+ (*pred_mul_plus_vx<mode>_undef): Add new pattern to handle
+ both the vmacc and vmadd.
+ (@pred_mul_plus_vx<mode>): Ditto.
+
+2025-09-04 Jan Hubicka <hubicka@ucw.cz>
+
+ * auto-profile.cc (afdo_annotate_cfg): Apply zero_bbs after early
+ exit for missing profile; fix formating
+
+2025-09-04 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-inline-transform.cc (inline_call): If function with
+ AFDO profile is inlined into function with
+ GUESSED_GLOBAL0_AFDO or GUESSED_GLOBAL0_ADJUSTED, scale
+ caller to AFDO profile.
+ * profile-count.h (profile_count::apply_scale): If num is AFDO
+ and den is not GUESSED, make result AFDO rather then GUESSED.
+
+2025-09-04 Wilco Dijkstra <wilco.dijkstra@arm.com>
+
+ * builtins.cc (interclass_mathfn_icode): Add support for isnan
+ optab.
+ (expand_builtin): Add BUILT_IN_ISNAN to expand isnan optab.
+ (fold_builtin_interclass_mathfn): Expand BUILT_IN_ISNAN only after
+ checking for a valid optab.
+ (fold_builtin_classify): Move generic BUILT_IN_ISNAN expansion
+ to fold_builtin_interclass_mathfn.
+ (fold_builtin_1): For BUILT_IN_ISNAN first try fold_builtin_classify,
+ then fold_builtin_interclass_mathfn.
+ * optabs.def: Add isnan optab.
+ * doc/md.texi: Document isnan.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-loop.cc (vect_create_epilog_for_reduction):
+ Remove unnecessary code around double reductions.
+
+2025-09-04 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/121775
+ * config/arm/neon.md (vec_set<mode>_internal, all variants):
+ validate the immediate operand that indicates the lane to
+ modify.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-loop.cc (vectorizable_reduction): Eliminate
+ nested_cycle in favor of double_reduc and set that where
+ it makes most sense. Remove never taken paths and always
+ true conditions.
+
+2025-09-04 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR target/121742
+ PR target/121780
+ PR target/121781
+ * config/riscv/riscv-v.cc (expand_vec_perm): Swap target and
+ tmp_target.
+
+2025-09-04 Robin Dapp <rdapp@ventanamicro.com>
+
+ * tree-vect-loop-manip.cc (vect_gen_prolog_loop_niters):
+ Change prolog bound to poly_int64.
+ (vect_gen_scalar_loop_niters): Ditto.
+ (vect_do_peeling): Use poly estimate for frequency scaling.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121768
+ * tree-vect-loop.cc (vect_inner_phi_in_double_reduction_p): Remove.
+ (vect_analyze_scalar_cycles_1): Analyze inner loops of
+ double reductions immediately and only mark fully recognized
+ double reductions. Skip already analyzed inner loops.
+ (vect_is_simple_reduction): Change double_reduc from a flag
+ to an output of the inner loop PHI and to whether we are
+ processing an inner loop of a double reduction.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121685
+ * tree-eh.cc (ref_outside_object_p): Split out from ...
+ (tree_could_trap_p): ... here. Assume the this pointer
+ of a method refers to an object of at least size of its
+ base type.
+
+2025-09-04 Andrew Pinski <andrew.pinski@oss.qualcomm.com>
+
+ PR tree-optimization/107051
+ * tree-ssa-forwprop.cc (optimize_agr_copyprop_1): Allow for
+ memory sharing the same base if they known not to overlap over
+ the size.
+
+2025-09-04 Kito Cheng <kito.cheng@sifive.com>
+
+ PR target/110812
+ * config/riscv/riscv-c.cc (pragma_intrinsic_flags): Remove struct.
+ (riscv_pragma_intrinsic_flags_pollute): Remove function.
+ (riscv_pragma_intrinsic_flags_restore): Remove function.
+ (riscv_pragma_intrinsic): Simplify to only call handle_pragma_vector.
+ * config/riscv/riscv-vector-builtins.cc (pragma_intrinsic_flags):
+ Move struct definition here from riscv-c.cc.
+ (riscv_pragma_intrinsic_flags_pollute): Move and adapt from
+ riscv-c.cc, add zvfbfmin, zvfhmin and vector_elen_bf_16 support.
+ (riscv_pragma_intrinsic_flags_restore): Move from riscv-c.cc.
+ (rvv_switcher::rvv_switcher): Add pollute_flags parameter to
+ control flag manipulation.
+ (rvv_switcher::~rvv_switcher): Restore flags conditionally.
+ (register_builtin_types): Use rvv_switcher without polluting flags.
+ (get_required_extensions): Remove function.
+ (check_required_extensions): Simplify to only check type validity.
+ (function_instance::function_returns_void_p): Move implementation
+ from header.
+ (function_builder::add_function): Register placeholder for LTO.
+ (init_builtins): Simplify and handle LTO case.
+ (reinit_builtins): Remove function.
+ (handle_pragma_vector): Remove extension checking.
+ * config/riscv/riscv-vector-builtins.h
+ (function_instance::function_returns_void_p): Add declaration.
+ (function_call_info::function_returns_void_p): Remove inline
+ implementation.
+
+2025-09-04 Kito Cheng <kito.cheng@sifive.com>
+
+ * common/config/riscv/riscv-common.cc (riscv_ext_is_subset): Fix
+ inverted logic in extension subset check.
+
+2025-09-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/117599
+ * gimple-lower-bitint.cc (bitint_large_huge::limb_access): Move
+ build_qualified_type calls into the if/else if/else bodies, for
+ the last one set ltype to m_limb_type first, drop limb_type_a
+ and use ltype instead.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/61247
+ * tree-scalar-evolution.cc (simplify_peeled_chrec):
+ Handle the case of a converted peeled chrec.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121740
+ * tree-ssa-sccvn.cc (vn_reference_lookup_3): Allow skipping
+ may-defs from CTORs. Do not skip may-defs with storage-order
+ issues or (partial) must-defs.
+
2025-09-03 Kuan-Lin Chen <rufus@andestech.com>
* config/riscv/andes.def: Add nds_fcvt_s_bf16 and nds_fcvt_bf16_s.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index afd7c00..0cc4fce 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250904
+20250905
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 589737c..561e044 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,23 @@
+2025-09-04 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/117658
+ * cp-tree.h (get_originating_module): Adjust parameter names.
+ * module.cc (path_of_instantiation): Handle C++26 expansion
+ statements.
+ * name-lookup.cc (name_lookup::adl_namespace_fns): Handle
+ exported declarations attached to the same module of an
+ associated entity with the same innermost non-inline namespace,
+ and non-exported functions on the instantiation path.
+ (name_lookup::search_adl): Build mapping of namespace to modules
+ that associated entities are attached to; remove now-unneeded
+ instantiation path handling.
+
+2025-09-04 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/121724
+ * name-lookup.cc (push_namespace): Mark inline namespace
+ contexts as purview if needed.
+
2025-09-03 Patrick Palka <ppalka@redhat.com>
PR c++/97740
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6cbe443..2e6ade0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,145 @@
+2025-09-04 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check
+ for vmadd.vx.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-u16.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-u32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-u64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-u8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-u16.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-u32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-u64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-u8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary.h: Add test
+ helper macros.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary_data.h: Add test
+ data for run test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-u16.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-u32.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-u64.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-u8.c: New test.
+
+2025-09-04 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check
+ for vmadd.vx.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i16.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i16.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i32.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i64.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary.h: Add test
+ helper macros.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary_data.h: Add test
+ data for run test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-i16.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-i32.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-i64.c: New test.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmadd-run-1-i8.c: New test.
+
+2025-09-04 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary.h: Adjust the
+ vmacc.vx to avoid generating vmadd.
+
+2025-09-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR testsuite/121732
+ PR target/117013
+ * g++.target/aarch64/spaceship_1.C: Adjust expected fn bodies
+ for _Z8ss_floatff and _Z9ss_doubledd.
+
+2025-09-04 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/121775
+ * gcc.target/arm/simd/vset_lane_u8.c: New test.
+
+2025-09-04 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR target/121742
+ PR target/121780
+ PR target/121781
+ * gcc.target/riscv/rvv/autovec/pr121780.c: New test.
+ * gcc.target/riscv/rvv/autovec/pr121781.c: New test.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121768
+ * gcc.dg/vect/pr121768.c: New testcase.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121685
+ * g++.dg/vect/pr121685-1.cc: New testcase.
+
+2025-09-04 Andrew Pinski <andrew.pinski@oss.qualcomm.com>
+
+ PR tree-optimization/107051
+ * gcc.dg/tree-ssa/copy-prop-aggregate-union-1.c: New test.
+
+2025-09-04 Kito Cheng <kito.cheng@sifive.com>
+
+ PR target/110812
+ * gcc.target/riscv/lto/pr110812_0.c: New test.
+ * gcc.target/riscv/lto/pr110812_1.c: New test.
+ * gcc.target/riscv/lto/riscv-lto.exp: New test driver.
+ * gcc.target/riscv/lto/riscv_vector.h: New header wrapper.
+
+2025-09-04 Kito Cheng <kito.cheng@sifive.com>
+
+ * gcc.target/riscv/can_inline_p_test-01.c: New test.
+ * gcc.target/riscv/can_inline_p_test-02.c: New test.
+ * gcc.target/riscv/can_inline_p_test-03.c: New test.
+ * gcc.target/riscv/can_inline_p_test-04.c: New test.
+ * gcc.target/riscv/riscv_vector.h: New header wrapper for vector
+ tests.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/61247
+ * gcc.dg/vect/vect-pr61247.c: New testcase.
+
+2025-09-04 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/121740
+ * gcc.dg/tree-ssa/ssa-fre-104.c: Un-XFAIL.
+ * gcc.dg/tree-ssa/ssa-fre-110.c: New testcase.
+
+2025-09-04 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/117658
+ * g++.dg/modules/adl-4_a.C: Test should pass.
+ * g++.dg/modules/adl-4_b.C: Test should pass.
+ * g++.dg/modules/adl-6_a.C: New test.
+ * g++.dg/modules/adl-6_b.C: New test.
+ * g++.dg/modules/adl-6_c.C: New test.
+ * g++.dg/modules/adl-7_a.C: New test.
+ * g++.dg/modules/adl-7_b.C: New test.
+ * g++.dg/modules/adl-7_c.C: New test.
+ * g++.dg/modules/adl-8_a.C: New test.
+ * g++.dg/modules/adl-8_b.C: New test.
+ * g++.dg/modules/adl-8_c.C: New test.
+
+2025-09-04 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/121724
+ * g++.dg/modules/namespace-12_a.C: New test.
+ * g++.dg/modules/namespace-12_b.C: New test.
+
+2025-09-04 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR testsuite/112728
+ * gcc.dg/scantest-lto.c: Omit unwind frames.
+
2025-09-03 Kuan-Lin Chen <rufus@andestech.com>
* gcc.target/riscv/xandes/xandesbfhcvt-1.c: New test.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index c3119e02..df5b32f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,70 @@
+2025-09-04 Patrick Palka <ppalka@redhat.com>
+
+ * include/std/ranges (join_view::_Iterator::_M_satisfy):
+ Adjust to handle non-std::optional _M_inner as per before LWG 3569.
+ (join_view::_Iterator::_M_get_inner): New.
+ (join_view::_Iterator::_M_inner): Don't wrap in std::optional if
+ the iterator is forward. Initialize.
+ (join_view::_Iterator::operator*): Use _M_get_inner instead
+ of *_M_inner.
+ (join_view::_Iterator::operator++): Likewise.
+ (join_view::_Iterator::iter_move): Likewise.
+ (join_view::_Iterator::iter_swap): Likewise.
+
+2025-09-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * include/bits/binders.h (_Binder::_S_call): Make public.
+ * include/std/ranges (ranges::_Partial<_Adaptor, _Args...>):
+ Replace tuple<_Args...> with _Bind_back_t<_Adaptor, _Args...>.
+ (ranges::_Partial<_Adaptor, _Arg>): Remove.
+
+2025-09-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * include/Makefile.am: Add bits/binders.h
+ * include/Makefile.in: Add bits/binders.h
+ * include/std/functional (std::_Indexed_bound_arg, std::_Binder)
+ (std::__make_bound_args, std::_Bind_front_t, std::_Bind_back_t):
+ Moved to bits/binders.h file, that is now included.
+ * include/bits/binders.h: New file.
+
+2025-09-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * include/std/functional: (std::_Indexed_bound_arg): Fixed
+ indentation.
+ (__Bound_arg_storage::_S_apply_front)
+ (__Bound_arg_storage::_S_apply_front): Merged into _S_apply.
+ (__Bound_arg_storage::_S_apply): Merged above, add _Back template
+ parameter, replace std::invoke with std::__invoke.
+ (std::_Bind_front): Renamed to std::_Binder and add _Back
+ template parameter.
+ (std::_Binder): Renamed from std::_Bind_front.
+ (_Binder::_Result_t, _Binder::_S_noexcept_invoke): Define.
+ (_Binder::operator()): Use _Result_t and _S_noexcept_invoke.
+ (_Binder::_S_call): Handle zero args specially, replace std::invoke
+ with std::__invoke.
+ (std::_Bind_front_t, std::_Bind_back_t): Defined in terms
+ of _Binder.
+ (std::_Bind_back): Merged into _Binder.
+ * testsuite/20_util/function_objects/bind_back/1.cc: New tests.
+ * testsuite/20_util/function_objects/bind_back/111327.cc: Updated
+ error messages.
+ * testsuite/20_util/function_objects/bind_front/1.cc: New tests.
+ * testsuite/20_util/function_objects/bind_front/111327.cc: Updated
+ error messages.
+
+2025-09-04 Luc Grosheintz <luc.grosheintz@gmail.com>
+
+ * include/std/mdspan (layout_left::mapping::operator()): Add
+ _GLIBCXX_RESOLVE_LIB_DEFECTS marker for 4314.
+ (layout_left::mapping::operator()): Ditto.
+ (layout_stride::mapping::operator()): Ditto.
+
+2025-09-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * doc/html/manual/status.html: Regenerated the file.
+ * doc/xml/manual/status_cxx1998.xml: Add stable name to
+ each entry.
+
2025-09-03 Yihan Wang <yronglin777@gmail.com>
* include/std/expected (expected(U&&)): Add missing constraint