[gcc r16-8518] Daily bump.
GCC Administrator
gccadmin@gcc.gnu.org
Wed Apr 8 00:16:58 GMT 2026
https://gcc.gnu.org/g:2b49581351509c4dc93f74ea86a48f3b50caf128
commit r16-8518-g2b49581351509c4dc93f74ea86a48f3b50caf128
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Wed Apr 8 00:16:31 2026 +0000
Daily bump.
Diff:
---
gcc/ChangeLog | 78 ++++++++++++++++++++++++++++++
gcc/DATESTAMP | 2 +-
gcc/ada/ChangeLog | 5 ++
gcc/c-family/ChangeLog | 5 ++
gcc/cp/ChangeLog | 51 ++++++++++++++++++++
gcc/d/ChangeLog | 5 ++
gcc/fortran/ChangeLog | 54 +++++++++++++++++++++
gcc/m2/ChangeLog | 5 ++
gcc/po/ChangeLog | 4 ++
gcc/testsuite/ChangeLog | 125 ++++++++++++++++++++++++++++++++++++++++++++++++
libcpp/po/ChangeLog | 4 ++
libgfortran/ChangeLog | 7 +++
libstdc++-v3/ChangeLog | 24 ++++++++++
13 files changed, 368 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64a1f10c66fe..bc84fed80f7d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,81 @@
+2026-04-07 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/124759
+ PR target/124789
+ * config/i386/i386.cc (ix86_need_alignment_p_2): New function.
+ Exclude memory with SYMBOLIC_CONST.
+ (ix86_need_alignment_p_1): Call ix86_need_alignment_p_2.
+ (ix86_find_max_used_stack_alignment): Restore
+ hard_stack_slot_access handling.
+
+2026-04-07 H.J. Lu <hjl.tools@gmail.com>
+
+ * config/i386/i386.cc (ix86_need_alignment_p_1): Replace
+ GET_MODE_ALIGNMENT with MEM_ALIGN.
+
+2026-04-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/124802
+ * tree-vect-slp-patterns.cc (vect_match_expression_p): Fail
+ for SLP_TREE_PERMUTE_P.
+
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR sanitizer/124170
+ * doc/invoke.texi (Option Summary) <Linker Options>: Add
+ -static-libhwasan and fix alphabetization of similar options.
+ (Link Options): Likewise.
+ * common.opt.urls: Regenerated.
+
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * regenerate-opt-urls.py (canonicalize_option_name): Remove one
+ of the dashes from option names starting with two dashes.
+ (test_parse_option_index): Add a self-test for this.
+ * common.opt.urls: Regenerated.
+ * config/picolibc.opt.urls: Regenerated.
+
+2026-04-07 Peter Damianov <peter0x44@disroot.org>
+
+ * config/mingw/t-cygming: Remove obsolete STMP_FIXINC
+ override.
+
+2026-04-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/124743
+ * tree-vect-slp.cc (vect_schedule_slp_node): Schedule
+ loop invariant operations in the loop preheader.
+
+2026-04-07 Avinash Jayakar <avinashd@linux.ibm.com>
+ Surya Kumari Jangala <jskumari@linux.ibm.com>
+
+ * config/rs6000/rs6000-builtin.cc (rs6000_expand_builtin): Add
+ logic to handle __builtin_ppc_atomic_cas_local.
+ * config/rs6000/rs6000-builtins.def: New builtins for
+ __builtin_ppc_atomic_cas_local with types.
+ * config/rs6000/rs6000-c.cc (altivec_build_resolved_builtin):
+ Handle builtins with up to 6 arguments.
+ * config/rs6000/rs6000-overload.def: Overload builtin for
+ signed/unsiged char, short, int, long, __int128.
+ * config/rs6000/rs6000-protos.h (rs6000_expand_atomic_compare_and_swap):
+ Add additional parameter 'local' to the prototype.
+ * config/rs6000/rs6000.cc (emit_load_locked): Add new parameter. Pass
+ new parameter to generate load-locked instruction.
+ (rs6000_expand_atomic_compare_and_swap): Add new parameter. Call
+ emit_load_locked() with additional parameter value of EH bit.
+ (rs6000_expand_atomic_exchange): Pass EH value 0 to emit_load_locked().
+ (rs6000_expand_atomic_op): Likewise.
+ * config/rs6000/sync.md (load_locked<mode>): Add new operand in RTL
+ template. Specify EH bit in the larx instruction.
+ (load_locked<QHI:mode>_si): Likewise.
+ (load_lockedpti): Likewise.
+ (load_lockedti): Add new operand in RTL template. Pass EH bit to
+ gen_load_lockedpti().
+ (atomic_compare_and_swap<mode>): Pass new parameter 'false' to
+ rs6000_expand_atomic_compare_and_swap.
+ (atomic_compare_and_swap_local<mode>): New define_expand.
+
2026-04-06 Nathaniel Shead <nathanieloshead@gmail.com>
PR libstdc++/124268
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 202774df35ab..875bc22c122b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260407
+20260408
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d9fd1615aaa4..159e50b7205b 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * gcc-interface/lang.opt.urls: Regenerated.
+
2026-04-05 Eric Botcazou <ebotcazou@adacore.com>
* exp_ch6.adb (Expand_Simple_Function_Return): Use a constant return
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 36767ba0a64d..7494e0588b06 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * c.opt.urls: Regenerated.
+
2026-03-19 Jason Merrill <jason@redhat.com>
* c-opts.cc (c_common_post_options): Enable -fcontracts
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 44dfe6d7e025..aa20b6ca6711 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,54 @@
+2026-04-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/123700
+ * pt.cc (dependent_opaque_alias_p): Return true for a
+ template-id typedef with a lambda targ.
+
+2026-04-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/123529
+ PR c++/98930
+ * pt.cc (has_value_dependent_address): Correct context
+ dependence check for a static local variable.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ * cp-tree.h: Implement C++26 CWG3140 - Allowing expansion over
+ non-constant std::array.
+ (cp_build_range_for_decls): Change last argument from bool to tree.
+ (build_range_temp): Likewise and default it to NULL_TREE rather than
+ false.
+ * parser.cc (build_range_temp): Remove expansion_stmt_p
+ argument, add expansion_stmt_decl. Don't call cp_build_qualified_type
+ if expansion_stmt_decl was not declared constexpr.
+ (cp_build_range_for_decls): Remove expansion_stmt_p argument, add
+ expansion_stmt_decl. Pass expansion_stmt_decl to build_range_temp.
+ Don't set TREE_STATIC, TREE_PUBLIC, DECL_COMMON, DECL_INTERFACE_KNOWN,
+ DECL_DECLARED_CONSTEXPR_P and TREE_READONLY on range_temp if
+ expansion_stmt_decl was not declared constexpr. Don't call
+ cp_build_qualified_type on begin type nor set TREE_STATIC etc. on begin
+ if expansion_stmt_decl was not declared constexpr. If
+ expansion_stmt_decl is non-NULL, don't build end at all, instead pass
+ begin_expr and end_expr in end_p[0] and end_p[1] to the caller.
+ (cp_convert_range_for): Adjust cp_build_range_for_decls caller.
+ * pt.cc (finish_expansion_stmt): Likewise. Use begin_expr and end_expr
+ instead of begin and end variables from cp_build_range_for_decls,
+ make them non-constant and avoid spurious -Wunused-result/nodiscard
+ diagnostics.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/124487
+ * mangle.cc (write_type) <case PACK_INDEX_TYPE>: Handle even
+ the case of partially substituted pack.
+ (write_expression): Similarly for PACK_INDEX_EXPR.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/124790
+ * reflect.cc (get_reflection): When reflecting VAR_DECL or PARM_DECL,
+ call mark_exp_read on it.
+
2026-04-06 Nathaniel Shead <nathanieloshead@gmail.com>
PR libstdc++/124268
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 69c961be0a6a..a73a609d83e5 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,8 @@
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * lang.opt.urls: Regenerated.
+
2026-04-01 Iain Buclaw <ibuclaw@gdcproject.org>
* dmd/MERGE: Merge upstream dmd 55e64690bc.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 26c23d8129ac..85d1017e2d45 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,57 @@
+2026-04-07 Christopher Albert <albert@tugraz.at>
+
+ PR fortran/102430
+ * openmp.cc (resolve_omp_clauses): Reject array/allocatable LINEAR on
+ worksharing-loop constructs.
+
+2026-04-07 Christopher Albert <albert@tugraz.at>
+
+ PR fortran/103367
+ * trans-array.cc (gfc_conv_array_initializer): Return empty
+ constructor for unexpected expression types after parameter
+ substitution.
+
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * lang.opt.urls: Regenerated.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/85352
+ * resolve.cc (specification_expr_symbol): New variable.
+ (entry_dummy_seen_p): Return whether a dummy appears in an already
+ seen ENTRY.
+ (gfc_resolve_formal_arglist): Remember the dummy whose specification
+ expressions are being resolved.
+ (resolve_variable): Accept unresolved sibling ENTRY dummy arguments
+ while resolving the current dummy's specification expressions.
+ (resolve_fl_variable): Preserve specification_expr_symbol.
+ (resolve_symbol_array_spec): Likewise.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/107425
+ * trans-decl.cc (gfc_finish_var_decl): Check for
+ omp_affinity_iterators namespace before FL_LABEL BLOCK check.
+ Only route actual iterator variables through add_decl_as_local;
+ add other variables to the enclosing function.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/124780
+ * resolve.cc (resolve_ordinary_assign): Do not add the class
+ data component to an operator expression.
+ * trans-expr.cc (gfc_trans_scalar_assign): If class to class
+ assignment uses ordinary scalar assignment and neither lhs or
+ rhs are class types, do a deep copy for allocatable components.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/124598
+ * trans-expr.cc (gfc_conv_structure): Do not add parameterized
+ components to a structure constructor.
+
2026-04-06 Christopher Albert <albert@tugraz.at>
PR fortran/79524
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index b37ae0505983..3cd96e391767 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,8 @@
+2026-04-07 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR other/124784
+ * lang.opt.urls: Regenerated.
+
2026-01-25 Sandra Loosemore <sloosemore@baylibre.com>
* lang.opt.urls: Regenerated.
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 84bc9a0b2908..dd28bf359652 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2026-04-07 Joseph Myers <josmyers@redhat.com>
+
+ * sv.po, zh_CN.po: Update.
+
2026-03-31 Joseph Myers <josmyers@redhat.com>
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a0e1eea42d9e..9e9567b90938 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,128 @@
+2026-04-07 Christopher Albert <albert@tugraz.at>
+
+ PR fortran/102430
+ * gfortran.dg/gomp/pr102430.f90: New test.
+
+2026-04-07 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/124759
+ PR target/124789
+ * gcc.target/i386/pr124759.c: New test.
+
+2026-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/124543
+ * gfortran.dg/pr124543.f90: Add the dg-options "-O0" to
+ reduce testing time. Adjust test for the change above.
+
+2026-04-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/124802
+ * gcc.dg/vect/vect-pr124802.c: New testcase.
+
+2026-04-07 Christopher Albert <albert@tugraz.at>
+
+ PR fortran/103367
+ * gfortran.dg/pr103367.f90: New test.
+
+2026-04-07 Christopher Albert <albert@tugraz.at>
+
+ PR fortran/104827
+ PR fortran/104827
+ * gfortran.dg/gomp/pr104827.f90: New test.
+
+2026-04-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/123700
+ * g++.dg/cpp2a/lambda-targ24.C: New test.
+ * g++.dg/cpp2a/lambda-targ24a.C: New test.
+
+2026-04-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/123529
+ PR c++/98930
+ * g++.dg/cpp1z/nontype9.C: New test.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ * g++.dg/cpp26/expansion-stmt11.C: Expect some extra diagnostics for
+ C++11.
+ * g++.dg/cpp26/expansion-stmt13.C: Likewise. Make it dg-do compile
+ test for c++11_only and dg-do run only for c++14 and above.
+ * g++.dg/cpp26/expansion-stmt16.C: Adjust expected diagnostics.
+ * g++.dg/cpp26/expansion-stmt19.C: Expect some extra diagnostics for
+ C++11. Make it dg-do compile test for c++11_only and dg-do run only
+ for c++14 and above.
+ * g++.dg/cpp26/expansion-stmt25.C (foo): Test both constexpr
+ range-for-decl and non-constexpr, adjust expected diagnostics.
+ * g++.dg/cpp26/expansion-stmt30.C: Adjust expected diagnostics.
+ * g++.dg/cpp26/expansion-stmt35.C: New test.
+ * g++.dg/cpp26/expansion-stmt36.C: New test.
+ * g++.dg/cpp26/expansion-stmt37.C: New test.
+ * g++.dg/cpp26/expansion-stmt38.C: New test.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/124487
+ * g++.dg/cpp26/pack-indexing9.C: Remove dg-sorry/dg-bogus, add
+ tests for mangled names and further test coverage.
+
+2026-04-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/124790
+ * g++.dg/reflect/pr124790.C: New test.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/85352
+ * gfortran.dg/pr85352.f90: New test.
+
+2026-04-07 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
+
+ * lib/target-supports.exp
+ (check_effective_target_recent_python3): Cache result of check.
+ (check_effective_target_python3_module): Likewise.
+ (check_effective_target_pytest3): Likewise.
+
+2026-04-07 Christophe Lyon <christophe.lyon@arm.com>
+
+ PR target/124704
+ * lib/target-supports.exp
+ (check_effective_target_vect_cmdline_neeed): Handle arm_mve
+ similarly to arm_neon.
+
+2026-04-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/124743
+ * gcc.dg/vect/vect-pr124743.c: New testcase.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/107425
+ * gfortran.dg/gomp/pr107425.f90: New test.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/124780
+ * gfortran.dg/pr124780.f90: New test.
+
+2026-04-07 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
+
+ * lib/target-supports.exp (check_fork_runtime): New function to
+ check that target has a working fork() implementation.
+ * lib/target-supports-dg.exp (dg-require-fork): When test is
+ "run", then call check_fork_runtime, else check_fork_available.
+
+2026-04-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/124598
+ * gfortran.dg/pdt_91.f03: New test.
+
+2026-04-07 Avinash Jayakar <avinashd@linux.ibm.com>
+ Surya Kumari Jangala <jskumari@linux.ibm.com>
+
+ * gcc.target/powerpc/acmp-tst.c: New test.
+
2026-04-06 Nathaniel Shead <nathanieloshead@gmail.com>
PR libstdc++/124268
diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog
index 46f26b8e63b5..38e10b6d70dd 100644
--- a/libcpp/po/ChangeLog
+++ b/libcpp/po/ChangeLog
@@ -1,3 +1,7 @@
+2026-04-07 Joseph Myers <josmyers@redhat.com>
+
+ * sr.po: Update.
+
2026-02-27 Joseph Myers <josmyers@redhat.com>
* be.po, ca.po, da.po, de.po, el.po, eo.po, es.po, fi.po, fr.po,
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 2174474fd120..6103690279f2 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,10 @@
+2026-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/124543
+ * io/inquire.c (inquire_via_unit): Change the returned
+ encoding value to 'DEFAULT' when not specified in the OPEN
+ statement.
+
2026-04-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/124543
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ec5c15fc2eba..dcc265563302 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,27 @@
+2026-04-07 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * config/abi/pre/gnu.ver (GLIBCXX_3.4): Make string exports
+ less greedy.
+ (GLIBCXX_3.4.35): Export basic_string default constructor and
+ starts_with and ends_with members.
+ * include/bits/basic_string.h: Update __cpluplus checks for C++20.
+ * include/bits/cow_string.h: Likewise.
+ * include/bits/basic_string.tcc: Declare explicit instantiations
+ for C++20 as well as earlier dialects.
+ * src/c++20/Makefile.am: Add cow-string-inst.cc and
+ string-inst.cc source files.
+ * src/c++20/Makefile.in: Regenerate.
+ * src/c++20/string-inst.cc: New file defining explicit
+ instantiations for basic_string default constructor and starts_with,
+ ends_with methods added in C++20
+ * src/c++20/cow-string-inst.cc: Version of above for cow-stings.
+
+2026-04-07 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/124722
+ * testsuite/std/simd/traits_impl.cc (test): Make test() a
+ function template and instantiate it.
+
2026-04-06 Matthias Kretz <m.kretz@gsi.de>
PR libstdc++/124722
More information about the Libstdc++-cvs
mailing list