[gcc r17-3309] Daily bump.

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

commit r17-3309-gdf494ca28d75f80b4d0b4e0b93b5d23d2092131a
Author: GCC Administrator <[email protected]>
Date:   Sat Aug 15 00:16:40 2026 +0000

    Daily bump.

Diff:
---
 ChangeLog               |   5 ++
 gcc/ChangeLog           | 131 +++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/c/ChangeLog         |   5 ++
 gcc/cobol/ChangeLog     |   7 +++
 gcc/cp/ChangeLog        |  32 ++++++++++
 gcc/fortran/ChangeLog   |  11 ++++
 gcc/testsuite/ChangeLog | 159 ++++++++++++++++++++++++++++++++++++++++++++++++
 libgomp/ChangeLog       |   8 +++
 9 files changed, 359 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 4339d293eb24..dcdfab36fd96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-08-14  Pierre-Emmanuel Patry  <[email protected]>
+
+	* MAINTAINERS: Regenerate.
+	* MAINTAINERS.yml: Add myself to rust and libgrust maintainers.
+
 2026-08-10  Tobias Burnus  <[email protected]>
 
 	* MAINTAINERS.yml (Burnus): Add private email as
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8bbdde95b8ad..6fb68ebdc114 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,134 @@
+2026-08-14  Odysseas Georgoudis  <[email protected]>
+
+	PR middle-end/122715
+	* config/i386/i386.cc: Include "internal-fn.h".
+	(ix86_gimple_fold_builtin): Canonicalize PAVG builtins to
+	IFN_AVG_CEIL.
+
+2026-08-14  Shreya Munnangi  <[email protected]>
+
+	PR rtl-optimization/125731
+	* ifcvt.cc (get_base_reg_or_const): Renamed from get_base_reg.
+	Handle CONST_INTs too.
+	(noce_try_cond_arith): Use get_base_reg_or_const.  Handle case where
+	get_base_reg_or_const returns a CONST_INT.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126845
+	* value-relation.cc (dom_oracle::search_and_merge_relation): Create
+	relation immediately and update it later.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126814
+	* gimple-range-fold.cc (fold_using_range::fold_stmt): Temporarily
+	replace the current range query with the specified one.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126533
+	* gimple-range-gori.cc (gori_name_helper): Add depth counter.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126538
+	* gimple-range-phi.cc (phi_group::calculate_using_modifier): Limit the
+	iteration upper bound to MAX_FIXED_MODE_SIZE.
+
+2026-08-14  Kyrylo Tkachov  <[email protected]>
+
+	* match.pd (x / y * y == x): Extend to inequality.
+
+2026-08-14  LIU Hao  <[email protected]>
+
+	* config/i386/sym-mingw32.cc: Add `extern "C"` and `visibility("hidden")`.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126865
+	* tree-vect-slp.cc (vect_build_slp_tree_1): Track common
+	BB and whether there's any trapping stmt in the matching set
+	and verify the same BB constraint after we've seen all stmts.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126862
+	* tree-vect-slp.cc (vect_bb_slp_mark_live_stmts): For PHI
+	uses verify dominance to the PHI use edge source.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126861
+	* tree-vect-slp.cc (vect_schedule_slp_node): Use NULL for
+	scheduling at region start.
+
+2026-08-14  Reshma Roy  <[email protected]>
+
+	PR tree-optimization/126646
+	* match.pd: Fold umin(a, 1) | umin(b, 1) into umin(a | b, 1).
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126852
+	* tree-vect-slp.cc (vect_schedule_slp_node): Verify schedule
+	for PHIs.
+
+2026-08-14  Kyrylo Tkachov  <[email protected]>
+
+	* match.pd (nop_convert): Use vector_nop_conversion_p.
+	((A == 0) & (B == 0), (A != 0) | (B != 0)): Extend the
+	existing simplifications to vector operands.
+	((A == -1) & (B == -1), (A != -1) | (B != -1)): Likewise.
+	* tree.cc (vector_nop_conversion_p): New function.
+	* tree.h (vector_nop_conversion_p): Declare.
+
+2026-08-14  Andrea Pinski  <[email protected]>
+
+	PR tree-optimization/107765
+	* match.pd (`(cast)-(cast)a`): Expand to
+	use expr_not_equal_to of INT_MIN.
+
+2026-08-14  Longjun Luo  <[email protected]>
+
+	PR debug/126355
+	* cgraphunit.cc (cgraph_node::create_wrapper): Preserve
+	DECL_IGNORED_P across forced GIMPLE thunk expansion.
+
+2026-08-14  Naveen  <[email protected]>
+
+	PR tree-optimization/98602
+	* match.pd (vec_cond (cmp @0 VECTOR_CST@1) @0 VECTOR_CST@2):
+	New simplification.
+	(vec_cond (cmp @0 VECTOR_CST@1) VECTOR_CST@2 @0): Likewise.
+	* tree.cc (record_uniform_integer_difference): New helper.
+	(uniform_vector_difference_p): New function.
+	* tree.h (uniform_vector_difference_p): Declare.
+
+2026-08-14  Jeff Law  <[email protected]>
+
+	PR target/108031
+	* config/riscv/riscv.cc (riscv_rtx_costs): Bump the cost of a LO_SUM
+	by one unit to encourage use of related values instead of the symbolic
+	form.
+
+2026-08-14  H.J. Lu  <[email protected]>
+
+	PR testsuite/126697
+	* config/i386/cpuid.h (__get_cpuid_max): Rename the first
+	argument to __leaf and apply 0xC0000000 mask before passing
+	it to CPUID.
+	(__get_cpuid): Pass __leaf to __get_cpuid_max.
+	(__get_cpuid_count): Likewise.
+
+2026-08-14  Jeff Law  <[email protected]>
+
+	PR rtl-optimization/126426
+	* ext-dce.cc (carry_backpropagate): Return a conservatively
+	correct mask when presented with vector modes.
+	(ext_dce_process_uses): Don't use GET_MODE_INNER, we need to
+	know the full extent of the bits for vector and complex modes.
+
 2026-08-13  Kael Andrew Alonzo Franco  <[email protected]>
 
 	PR tree-optimization/120582
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 0a060f7a5844..c896594582ef 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260814
+20260815
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index fd586a781a07..6795098366a0 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,8 @@
+2026-08-14  Martin Uecker  <[email protected]>
+
+	PR c/126284
+	* c-typeck.cc (top_array_vla_p): Remove check.
+
 2026-08-09  Andrea Pinski  <[email protected]>
 
 	* gimple-parser.cc (c_parser_gimple_postfix_expression):
diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog
index 06127d4967bd..8e03ee50d738 100644
--- a/gcc/cobol/ChangeLog
+++ b/gcc/cobol/ChangeLog
@@ -1,3 +1,10 @@
+2026-08-14  Robert Dubner  <[email protected]>
+
+	* move.cc (mh_binary_to_numdisp): Pass intermediates to __gg__move.
+	(mh_binary_to_packed): Likewise.
+	(mh_to_binary): Likewise.
+	(copy_intermediate_into_place): Eliminate.
+
 2026-08-12  Robert Dubner  <[email protected]>
 
 	* genapi.cc (get_level_88_domain): Expanded comment.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 841096ff5e82..51e144c1bee9 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,35 @@
+2026-08-14  Patrick Palka  <[email protected]>
+
+	* cp-gimplify.cc (cp_fold_r) <case INIT_EXPR>: Add trial
+	maybe_constant_init logic like for TARGET_EXPR.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	PR c++/126483
+	* typeck2.cc (store_init_value): Check maybe_constexpr_fn
+	instead of DECL_DECLARED_CONSTEXPR_P of the function scope.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	PR c++/123495
+	PR c++/126860
+	* cvt.cc (cp_get_fndecl_from_callee): Use fold_non_dependent_expr
+	instead of maybe_constant_init.
+
+2026-08-14  Jason Merrill  <[email protected]>
+
+	PR c++/126754
+	* constexpr.cc (cxx_eval_outermost_constant_expr): Don't
+	wrap in TARGET_EXPR when processing_template_decl.
+
+2026-08-14  Jason Merrill  <[email protected]>
+
+	* decl.cc (reshape_single_init): Declare sooner.
+	(reshape_init_array_1): Use it.
+	(reshape_init_class): Drop "subclass" case.
+	(reshape_init_r): d->cur->index always means initializing
+	an element.
+
 2026-08-13  Patrick Palka  <[email protected]>
 
 	PR c++/126783
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 6b555387cd9d..b41e3e220a36 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,14 @@
+2026-08-14  Harald Anlauf  <[email protected]>
+
+	* frontend-passes.cc (inner_loop_may_be_skipped): Clear GMP variables.
+
+2026-08-14  Paul Thomas  <[email protected]>
+
+	PR fortran/104048
+	* trans-array.cc (structure_alloc_comps): Extend the wrapper
+	mechanism for same type allocatable arrays to scalars, creating
+	descriptors for them and passing to the deep copy library fcn..
+
 2026-08-10  Christopher Albert  <[email protected]>
 
 	PR fortran/102333
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b3e20ca55432..a92cf80bbd00 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,162 @@
+2026-08-14  Odysseas Georgoudis  <[email protected]>
+
+	PR middle-end/122715
+	* gcc.target/i386/pr122715.c: New test.
+	* gcc.target/i386/pr122715-2.c: New test.
+
+2026-08-14  Shreya Munnangi  <[email protected]>
+
+	PR rtl-optimization/125731
+	* gcc.target/riscv/pr125731.c: New test.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	* g++.dg/opt/is_constant_evaluated3a.C: Remove xfail.
+	* g++.dg/opt/is_constant_evaluated3b.C: Likewise.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	PR c++/126483
+	* g++.dg/opt/is_constant_evaluated3b.C: xfail a1 initializer
+	folding.
+	* g++.dg/cpp2a/is-constant-evaluated16.C: New test.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	* g++.dg/opt/is_constant_evaluated3a.C: New test.
+	* g++.dg/opt/is_constant_evaluated3b.C: New test.
+
+2026-08-14  Patrick Palka  <[email protected]>
+
+	PR c++/123495
+	PR c++/126860
+	* g++.dg/template/non-dependent36.C: New test.
+	* g++.dg/template/non-dependent37.C: New test.
+
+2026-08-14  Martin Uecker  <[email protected]>
+
+	PR c/126284
+	* gcc.dg/pr126284.c: New test.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126845
+	* gcc.dg/pr126845.c: New.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126814
+	* gcc.dg/pr126814.c: New.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126533
+	* gcc.dg/pr126533.c: New.
+
+2026-08-14  Andrew MacLeod  <[email protected]>
+
+	PR tree-optimization/126538
+	* gcc.dg/pr126538.c: New.
+
+2026-08-14  Kyrylo Tkachov  <[email protected]>
+
+	* gcc.dg/tree-ssa/divmul-mod-1.c: New test.
+
+2026-08-14  Iain Sandoe  <[email protected]>
+
+	* gcc.target/i386/pr126293-1b.c: Account for USER_LABEL_PREFIX.
+	* gcc.target/i386/pr126293-1c.c: Likwise.
+
+2026-08-14  Iain Sandoe  <[email protected]>
+
+	PR target/126723
+	* g++.dg/torture/darwin-cfstring-3.C: Allow linker-visible
+	string labels.
+	* gcc.dg/torture/darwin-cfstring-3.c: Likewise.
+
+2026-08-14  Jason Merrill  <[email protected]>
+
+	PR c++/126754
+	* g++.dg/cpp1y/constexpr-lambda2.C: New test.
+
+2026-08-14  Hans-Peter Nilsson  <[email protected]>
+
+	* gfortran.dg/endfile_5.f90, gfortran.dg/namelist_101.f90,
+	gfortran.dg/namelist_104.f90, gfortran.dg/unsigned_10.f90,
+	gfortran.dg/unsigned_2.f90, gfortran.dg/unsigned_5.f90,
+	gfortran.dg/utf8_3.f03: Gate test on effective_target
+	fd_truncate.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126865
+	* gcc.dg/vect/bb-slp-pr126865.c: New testcase.
+	* gcc.dg/vect/bb-slp-pr100778-1.c: Adjust.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126862
+	* gcc.dg/vect/bb-slp-pr126862.c: New testcase.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126861
+	* g++.dg/vect/slp-pr126861.cc: New testcase.
+
+2026-08-14  Reshma Roy  <[email protected]>
+
+	* gcc.dg/tree-ssa/pr126646-1.c: New test.
+	* gcc.dg/tree-ssa/pr126646-2.c: New test.
+
+2026-08-14  Richard Biener  <[email protected]>
+
+	PR tree-optimization/126852
+	* gcc.dg/vect/bb-slp-pr126852.c: New testcase.
+
+2026-08-14  Kyrylo Tkachov  <[email protected]>
+
+	* gcc.dg/tree-ssa/vec-mask-zero-1.c: New test.
+
+2026-08-14  Paul Thomas  <[email protected]>
+
+	PR fortran/104048
+	* gfortran.dg/recursive_alloc_comp_7.f90: New test.
+	* gfortran.dg/recursive_alloc_comp_8.f90: New test.
+
+2026-08-14  Andrea Pinski  <[email protected]>
+
+	PR tree-optimization/107765
+	* gcc.dg/tree-ssa/neg-cast-1.c: New test.
+	* gcc.dg/tree-ssa/neg-cast-4.c: New test.
+
+2026-08-14  Longjun Luo  <[email protected]>
+
+	PR debug/126355
+	* gcc.dg/debug/dwarf2/pr126355.c: New test.
+
+2026-08-14  Naveen  <[email protected]>
+
+	PR tree-optimization/98602
+	* g++.dg/tree-ssa/pr98602.C: New test.
+	* g++.target/aarch64/sve/max_1.C: Remove fixed XFAILs.
+	* g++.target/aarch64/sve/min_1.C: Likewise.
+
+2026-08-14  Jeff Law  <[email protected]>
+
+	PR target/108031
+	* gcc.target/riscv/pr108031-2.c: New test.
+
+2026-08-14  Lewis Hyatt  <[email protected]>
+
+	* lib/lto.exp (lto-link-and-maybe-run): Unset gluefile for the
+	incremental link step, since the wrapper is not needed there and
+	does not contain LTO sections.
+
+2026-08-14  Jeff Law  <[email protected]>
+
+	PR rtl-optimization/126426
+	* gcc.target/riscv/pr126426.c: New test.
+
 2026-08-13  Patrick Palka  <[email protected]>
 
 	PR c++/126783
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index cd5ecd4d6624..1aa4b55e5a48 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,11 @@
+2026-08-14  Thomas Schwinge  <[email protected]>
+
+	PR libgomp/41418
+	* configure.ac (FC): Revert ealier changes; just set to '"$GFORTRAN"'.
+	(USE_FORTRAN): Conditionalize on '--enable-languages=fortran' being in
+	effect.
+	* configure: Regenerate.
+
 2026-08-10  Paul-Antoine Arras  <[email protected]>
 
 	* loop.c (GOMP_loop_static_worksharing_start,
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.