[gcc r17-3272] Daily bump.

GCC Administrator via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:70bbb9a8a65a73502bace18f31ade8c0ac5f1f68

commit r17-3272-g70bbb9a8a65a73502bace18f31ade8c0ac5f1f68
Author: GCC Administrator <[email protected]>
Date:   Fri Aug 14 00:16:31 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 175 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/cp/ChangeLog        |   7 ++
 gcc/testsuite/ChangeLog |  80 ++++++++++++++++++++++
 libcpp/ChangeLog        |  13 ++++
 libgfortran/ChangeLog   |  12 ++++
 libstdc++-v3/ChangeLog  |  11 +++
 7 files changed, 299 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 393204965b5d..8bbdde95b8ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,178 @@
+2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
+
+	PR tree-optimization/120582
+	* tree-ssa-forwprop.cc (simplify_builtin_call): Remove dead code.
+
+2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
+
+	PR sanitizer/120581
+	* sancov.cc (sancov_pass): Remove dead code.
+
+2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
+
+	PR tree-optimization/120580
+	* gimple-ssa-nonnull-compare.cc (do_warn_nonnull_compare):
+	Remove dead code.
+
+2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
+
+	PR tree-optimization/120579
+	* gimple.cc (gimple_could_trap_p_1): Remove dead code.
+
+2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
+
+	PR tree-optimization/120477
+	* tree-ssa-math-opts.cc (arith_overflow_check_p): Remove dead code.
+
+2026-08-13  Aldy Hernandez  <[email protected]>
+
+	PR tree-optimization/126103
+	* tree-ssa-threadbackward.cc (back_threader::find_paths_to_names):
+	Follow abnormal PHIs.
+
+2026-08-13  Aldy Hernandez  <[email protected]>
+
+	* gimple-range-fold.h (gimple_range_ssa_p): Remove the
+	SSA_NAME_OCCURS_IN_ABNORMAL_PHI check.
+	* gimple-range-path.cc (path_range_query::ssa_range_in_phi):
+	Assert the incoming path edge is not abnormal.
+
+2026-08-13  Jim Lin  <[email protected]>
+
+	* common/config/riscv/riscv-common.cc
+	(riscv_multi_lib_info_t::parse): Skip a multilib that is exactly
+	equivalent to the default march/mabi.
+
+2026-08-13  Peter Bergner  <[email protected]>
+
+	* config/riscv/riscv-cores.def (RISCV_TUNE): Add tt-ascalon-xg.
+	(RISCV_CORE): Likewise.
+	* config/riscv/riscv-opts.h (enum riscv_microarchitecture_type):
+	Add tt_ascalon_xg.
+	* config/riscv/riscv.md (tune): Likewise.
+	* config/riscv/tt-ascalon-d8.md (asc-xg-fp64-vec0, asc-xg-fp64-vec1):
+	New define_cpu_unit.
+	(tt_ascalon_xg_fp64_vec): New define_reservation.
+	(tt_ascalon_d8_int_load, tt_ascalon_d8_alu, tt_ascalon_d8_sfb,
+	tt_ascalon_d8_branch, tt_ascalon_d8_float_move, tt_ascalon_d8_fcvt,
+	tt_ascalon_d8_fcmp, tt_ascalon_d8_imul, tt_ascalon_d8_idiv,
+	tt_ascalon_d8_fadd, tt_ascalon_d8_mul, tt_ascalon_d8_float_fma,
+	tt_ascalon_d8_float_div_half, tt_ascalon_d8_float_div_single,
+	tt_ascalon_d8_float_div_double, tt_ascalon_d8_popcount,
+	tt_ascalon_d8_vec_load, tt_ascalon_d8_vec_store,
+	tt_ascalon_d8_vec_load_strided, tt_ascalon_d8_vec_store_strided,
+	tt_ascalon_d8_vec_load_indexed, tt_ascalon_d8_vec_store_indexed,
+	tt_ascalon_d8_vec_loadstore_seg, tt_ascalon_d8_vec_alu_1,
+	tt_ascalon_d8_vec_alu_2, tt_ascalon_d8_vec_alu_3,
+	tt_ascalon_d8_vec_alu_4, tt_ascalon_d8_vec_imul, tt_ascalon_d8_vec_pop,
+	tt_ascalon_d8_vec_crypto_aes, tt_ascalon_d8_vec_crypto_sha,
+	tt_ascalon_d8_vec_perm_1, tt_ascalon_d8_vec_perm_3,
+	tt_ascalon_d8_vec_perm_4, tt_ascalon_d8_vec_reduction,
+	tt_ascalon_d8_vec_ordered_reduction, tt_ascalon_d8_vec_idiv_byte,
+	tt_ascalon_d8_vec_idiv_half, tt_ascalon_d8_vec_idiv_single,
+	tt_ascalon_d8_vec_idiv_double, tt_ascalon_d8_vec_float_divsqrt_half,
+	tt_ascalon_d8_vec_float_divsqrt_single,
+	tt_ascalon_d8_vec_float_divsqrt_double, tt_ascalon_d8_vec_mask,
+	tt_ascalon_d8_vec_vesetvl, tt_ascalon_d8_vec_setrm,
+	tt_ascalon_d8_vec_readlen, tt_ascalon_d8_vec_unknown):
+	Use tt_ascalon_xg.
+	(tt_ascalon_d8_vec_fcmp, tt_ascalon_d8_vec_fadd,
+	tt_ascalon_d8_vec_fmul): Disable vector instructions that produce FP64
+	output values when tuning for tt_ascalon_xg.
+	(tt_ascalon_xg_fp64_vec_insns): New define_insn_reservation.
+	* doc/riscv-mcpu.texi: Regenerate.
+	* doc/riscv-mtune.texi: Likewise.
+
+2026-08-13  Roger Sayle  <[email protected]>
+
+	PR rtl-optimization/126315
+	* combine.cc (simplify_comparison) <case AND>: Delete
+	transformation that changed (AND (SUBREG x) C) into the
+	non-canonical (SUBREG (AND x C)).
+
+2026-08-13  Richard Biener  <[email protected]>
+	    H.J. Lu  <[email protected]>
+
+	* match.pd ((convert (convert @0))): Allow integer vector
+	types, unify {inside,intrer,final}_vec, guard patterns that
+	are not correct for vectors and those that are with
+	checks the resulting conversion is supported by the target.
+	* optabs-tree.h (supportable_convert_operation): Remove
+	useless last argument.
+	* optabs-tree.cc (supportable_convert_operation): Likewise.
+	(supportable_half_widening_operation): Adjust.
+	* tree-vect-stmts.cc (vectorizable_conversion): Likewise.
+	(supportable_indirect_convert_operation): Likewise.
+	* tree-vect-generic.cc (expand_vector_conversion): Likewise.
+	* tree-vect-data-refs.cc (vect_gather_scatter_fn_p): Likewise.
+	* tree-ssa-forwprop.cc (simplify_vector_constructor): Likewise.
+
+2026-08-13  Josef Melcr  <[email protected]>
+
+	* Makefile.in: Add callback-info.o to OBJS.
+	* attr-callback.cc (callback_fetch_attr_by_edge): Use fn_idx
+	from the summary.
+	(callback_get_arg_mapping): Replaced by
+	callback_get_arg_mapping_from_attr and the summary field.
+	(callback_get_arg_mapping_from_attr): New function, parses the
+	attr and returns the computed argument mapping.
+	(callback_fetch_fn_position): Delete, obsoleted by the summary.
+	(callback_edge_useful_p): Check for the redirected flag in the
+	summary instead of cgraph_node fields.
+	* attr-callback.h (enum callback_position): Add comment.
+	(enum arg_mapping_constants): New enum, defines the identifier
+	for -1 in the arg_mapping vector.
+	(callback_get_arg_mapping): Delete.
+	(callback_fetch_fn_position): Delete.
+	(callback_get_arg_mapping_from_attr): Add decl.
+	* cgraph.cc (symbol_table::create_edge): Remove callback_id initializer.
+	(cgraph_edge::make_callback): Initialize the callback_info
+	summary, add necessary arguments.
+	(cgraph_edge::redirect_callee): Set the redirected flag when
+	redirecting a callback edge.
+	(cgraph_edge::redirect_call_stmt_to_callee): Use the summary.
+	(cgraph_node::verify_node): Remove callback_id checks.
+	(cgraph_cc_finalize): Free the summaries.
+	* cgraph.h: Remove callback_id from cgraph_edge, adjust decl of
+	cgraph_edge::make_callback.
+	* cgraphclones.cc (cgraph_edge::clone): Remove callback_id.
+	* ipa-cp.cc (ipcp_driver): Initialize the summary sum.
+	* ipa-prop.cc (ipa_compute_jump_functions_for_edge): Remove
+	callback_id, adjust call to make_callback, use the summary.
+	(ipa_analyze_node): Initialize the summary sum.
+	(ipa_register_cgraph_hooks): Likewise.
+	* lto-cgraph.cc (lto_output_edge): Remove callback_id, stream
+	out the summary.
+	(output_symtab): Initialize the summary sum.
+	(input_edge): Remove callback_id, stream in the summary.
+	(input_cgraph_1): Initialize the summary sum.
+	* callback-info.cc: New file.
+	* callback-info.h: New file.
+
+2026-08-13  Andrea Pinski  <[email protected]>
+
+	* tree-ssa-dce.cc (simple_dce_from_worklist): Fix conditional
+	for no_delete with a call.
+
+2026-08-13  Andrea Pinski  <[email protected]>
+
+	PR tree-optimization/126815
+	* tree-ssa-dce.cc (simple_dce_from_worklist): Just don't
+	remove the lhs for no_delete case rather than adding a
+	new stmt.
+
+2026-08-13  Rohith Kapelli  <[email protected]>
+
+	PR rtl-optimization/125683
+	* simplify-rtx.cc (simplify_context::simplify_ternary_operation):
+	When folding an IF_THEN_ELSE of two equal MEM operands with
+	different memory attributes, return a copy whose attributes are
+	widened to what both operands allow.
+
+2026-08-13  Pan Li  <[email protected]>
+
+	* config/riscv/vector.md: Leverage Wvr constraint.
+
 2026-08-12  Iain Sandoe  <[email protected]>
 
 	PR target/126723
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index b945d86017fe..0a060f7a5844 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260813
+20260814
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b74f6b56b99c..841096ff5e82 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2026-08-13  Patrick Palka  <[email protected]>
+
+	PR c++/126783
+	* module.cc (transfer_defining_module): Call retrofit_lang_decl
+	instead of assuming the old declaration already has
+	DECL_LANG_SPECIFIC allocated.
+
 2026-08-12  Patrick Palka  <[email protected]>
 	    Bernhard M. Wiedemann  <[email protected]>
 
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c66630d9d0b7..b3e20ca55432 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,83 @@
+2026-08-13  Patrick Palka  <[email protected]>
+
+	PR c++/126783
+	* g++.dg/modules/gmf-6.C: New test.
+
+2026-08-13  Aldy Hernandez  <[email protected]>
+
+	PR tree-optimization/126103
+	* gcc.dg/tree-ssa/ssa-thread-abnormal-phi-1.c: New test.
+	* gcc.dg/tree-ssa/ssa-thread-abnormal-phi-2.c: New test.
+	* gcc.dg/tree-ssa/backthread-computed-goto-2.c: New test.
+
+2026-08-13  Andrea Pinski  <[email protected]>
+
+	PR tree-optimization/126815
+	* gcc.dg/torture/returns-twice-1.c: New test.
+
+2026-08-13  Mikael Morin  <[email protected]>
+
+	PR fortran/126799
+	* gfortran.dg/coarray/collectives_5.f90: New test.
+
+2026-08-13  Andrea Pinski  <[email protected]>
+
+	PR tree-optimization/126815
+	* g++.dg/torture/pr126815-1.C: New test.
+
+2026-08-13  Kyrylo Tkachov  <[email protected]>
+
+	* gcc.dg/cpp/vector-scan-align.c: New test.
+
+2026-08-13  Rohith Kapelli  <[email protected]>
+
+	PR rtl-optimization/125683
+	* gcc.dg/pr125683.c: New test.
+	* gcc.dg/rtl/aarch64/pr125683-flags.c: New test.
+
+2026-08-13  Pan Li  <[email protected]>
+
+	* gcc.target/riscv/rvv/base/pr112431-49.c: New test.
+	* gcc.target/riscv/rvv/base/pr112431-50.c: New test.
+
+2026-08-13  Pan Li  <[email protected]>
+
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u16-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u16-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u16-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u16-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u16-mf4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u32-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u32-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u32-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u32-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-mf4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmaccu_vv-u8-mf8.c: New test.
+
+2026-08-13  Pan Li  <[email protected]>
+
+	* gcc.target/riscv/rvv/autovec/group_overlap/group_overlap.h:
+	Add test helper macros.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i16-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i16-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i16-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i16-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i16-mf4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i32-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i32-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i32-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i32-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-m1.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-m2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-m4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-mf2.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-mf4.c: New test.
+	* gcc.target/riscv/rvv/autovec/group_overlap/vwmacc_vv-i8-mf8.c: New test.
+
 2026-08-12  Iain Sandoe  <[email protected]>
 
 	* gcc.target/aarch64/dwarf-cfa-reg.c: Require cfi instructions.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 6f5200247053..4a71ab07f19d 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,16 @@
+2026-08-13  Kyrylo Tkachov  <[email protected]>
+
+	* configure.ac: Test whether the AArch64 SVE2 lexer can be built.
+	* config.in: Regenerate.
+	* configure: Regenerate.
+	* internal.h (CPP_BUFFER_PADDING): Increase to 256 for SVE2.
+	* lex.cc (search_line_fast): Rename AArch64 Neon version to...
+	(search_line_neon): ...this.
+	(search_line_sve2): New function.
+	(lexer_has_sve2): New variable.
+	(init_vectorized_lexer): New function.
+	(search_line_fast): New function, dispatching between the two.
+
 2026-08-06  Jakub Jelinek  <[email protected]>
 
 	* makeuname2c.cc: Implement C++29 P3733R1 - More named universal
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 4d0b17191ea5..e843f24a5b6f 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,15 @@
+2026-08-13  Mikael Morin  <[email protected]>
+
+	PR fortran/126799
+	* caf/shmem/collective_subroutine.c (collsub_broadcast_array): Use
+	the element length field instead of the span field as element size.
+
+2026-08-13  Mikael Morin  <[email protected]>
+
+	PR fortran/126799
+	* caf/shmem/collective_subroutine.c (collsub_reduce_array): Use
+	the element length field instead of the span field as element size.
+
 2026-08-03  Jerry DeLisle  <[email protected]>
 
 	PR libfortran/118793
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 079dde623284..416862ae5c92 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,14 @@
+2026-08-13  Tomasz Kamiński  <[email protected]>
+
+	* src/c++23/std.cc.in: Remove tailing whitespace
+	after #endif.
+
+2026-08-13  Tomasz Kamiński  <[email protected]>
+
+	PR libstdc++/125467
+	* src/c++20/tzdb.cc (tzdb::current_zone): Use error_code overload
+	of filesystem::canonical to ignore errors.
+
 2026-08-11  Tomasz Kamiński  <[email protected]>
 
 	* testsuite/27_io/headers/iosfwd/synopsis.cc: Test __cpp_lib_syncbuf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.