https://gcc.gnu.org/g:6d093fe7019f8350e8cf01d7bc6285335c1fdae4
commit r16-8540-g6d093fe7019f8350e8cf01d7bc6285335c1fdae4 Author: GCC Administrator <[email protected]> Date: Thu Apr 9 00:16:29 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 12 ++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 12 ++++++++ gcc/po/ChangeLog | 4 +++ gcc/testsuite/ChangeLog | 56 +++++++++++++++++++++++++++++++++++++ libphobos/ChangeLog | 18 ++++++++++++ libstdc++-v3/ChangeLog | 57 +++++++++++++++++++++++++++++++++++++ 8 files changed, 234 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc84fed80f7d..14725f9275c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2026-04-08 Richard Biener <[email protected]> + + PR tree-optimization/124810 + * cfgloopmanip.cc (fix_loop_placements): Do not stop + iterating when an inner loop didn't get re-parented. + Compute the outermost loop we have to consider re-parenting. + +2026-04-08 Prathamesh Kulkarni <[email protected]> + + * auto-profile.cc (function_instance::merge): Set other->timestamp() if it's + lesser than timestamp() and greater than zero or if timestamp() is zero. + 2026-04-07 H.J. Lu <[email protected]> PR target/124759 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 875bc22c122b..1255a0d42f7a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260408 +20260409 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index aa20b6ca6711..0630e2488078 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,77 @@ +2026-04-08 Marek Polacek <[email protected]> + Boris Staletic <[email protected]> + + PR c++/123726 + * reflect.cc (check_splice_expr): Detect accessing a class template + or alias template with . or ->. + * typeck.cc (finish_class_member_access_expr): Check if the scope of + the spliced entity in a member access expression is of a class type. + Allow variable_template_p for context_for_name_lookup. + +2026-04-08 Marek Polacek <[email protected]> + + PR c++/124457 + * parser.cc (cp_parser_reflect_expression): Check is_auto here + instead of... + * reflect.cc (get_reflection): ...here. + +2026-04-08 Marek Polacek <[email protected]> + Boris Staletic <[email protected]> + + PR c++/124177 + * tree.cc (handle_annotation_attribute): Decay annotation + values. Turn if !type_dependent_expression_p into an assert. + +2026-04-08 Yang Kun <[email protected]> + + * pt.cc (tsubst_expr): Use gcc_unreachable, not gcc_assert. + * parser.cc (cp_parser_template_id): Likewise. + * reflect.cc (eval_template_of): Likewise. + +2026-04-08 Yang Kun <[email protected]> + + * reflect.cc (eval_current_function): Add missing return. + (eval_current_class): Likewise. + +2026-04-08 Yang Kun <[email protected]> + + * reflect.cc (eval_display_string_of): Fix copy-paste error in exception + messages. + +2026-04-08 Jakub Jelinek <[email protected]> + + * parser.cc (cp_parser_omp_loop_nest): Write orig_declv, not incrv. + +2026-04-08 Yang Kun <[email protected]> + + * parser.cc (cp_parser_omp_clause_proc_bind): Fix error message + (cp_parser_omp_clause_device_type): Likewise. + +2026-04-08 Marek Polacek <[email protected]> + + PR c++/124617 + * parser.cc (cp_parser_reflect_expression): Call baselink_for_fns. + +2026-04-08 Jakub Jelinek <[email protected]> + + * constraint.cc (diagnose_trait_expr): Remove CPTK_IS_CONSTEVAL_ONLY + handling. + * metafns.gperf (enum metafn_code): Remove + METAFN_IS_CONSTEVAL_ONLY_TYPE. + (is_consteval_only_type): Remove. + * semantics.cc (trait_expr_value, finish_trait_expr): Remove + CPTK_IS_CONSTEVAL_ONLY handling. + * cp-trait.def (__builtin_is_consteval_only): Remove. + * metafns.h: Regenerate. + * reflect.cc (eval_is_consteval_only_type): Remove. + (process_metafunction): Don't handle METAFN_IS_CONSTEVAL_ONLY_TYPE. + +2026-04-08 Jakub Jelinek <[email protected]> + + * decl.cc (cp_finish_decomp): Implement CWG3135 - constexpr structured + bindings with prvalues from tuples (as a DR). Don't call + cp_build_reference_type if init is prvalue. + 2026-04-07 Patrick Palka <[email protected]> PR c++/123700 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 85d1017e2d45..e79804529bd6 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2026-04-08 Christopher Albert <[email protected]> + + PR fortran/96986 + * resolve.cc (resolve_global_procedure): Move entry symbol + lookup outside the resolved != -1 block. + +2026-04-08 Paul Thomas <[email protected]> + + PR fortran/93715 + * trans-decl.cc (gfc_trans_deferred_vars): Skip auto array + allocation for scalar coarrays. + 2026-04-07 Christopher Albert <[email protected]> PR fortran/102430 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index dd28bf359652..68b2091ab961 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2026-04-08 Joseph Myers <[email protected]> + + * zh_CN.po: Update. + 2026-04-07 Joseph Myers <[email protected]> * sv.po, zh_CN.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9e9567b90938..1c6cf8eab41c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,59 @@ +2026-04-08 Christopher Albert <[email protected]> + + PR fortran/96986 + * gfortran.dg/pr96986.f90: New test. + +2026-04-08 Marek Polacek <[email protected]> + Boris Staletic <[email protected]> + + PR c++/123726 + * g++.dg/reflect/member1.C: Adjust dg-error. + * g++.dg/reflect/member22.C: New test. + +2026-04-08 Marek Polacek <[email protected]> + + PR c++/124457 + * g++.dg/reflect/concept1.C: New test. + +2026-04-08 Marek Polacek <[email protected]> + Boris Staletic <[email protected]> + + PR c++/124177 + * g++.dg/reflect/annotations18.C: New test. + +2026-04-08 Marek Polacek <[email protected]> + + PR c++/124617 + * g++.dg/reflect/dep12.C: New test. + * g++.dg/reflect/dep13.C: New test. + +2026-04-08 Richard Biener <[email protected]> + + PR tree-optimization/124810 + * gcc.dg/torture/pr124810.c: New testcase. + +2026-04-08 Torbjörn SVENSSON <[email protected]> + + * g++.dg/modules/modules.exp: Use "@nul" for Windows, + "@/dev/null" for other environments. + +2026-04-08 Paul Thomas <[email protected]> + + PR fortran/93715 + * gfortran.dg/pr93715.f90: New test. + +2026-04-08 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/is_consteval_only1.C: Remove. + * g++.dg/reflect/eh1.C: Remove is_consteval_only_type tests. + * g++.dg/reflect/eh2.C: Likewise. + * g++.dg/reflect/type_trait5.C: Likewise. + +2026-04-08 Jakub Jelinek <[email protected]> + + * g++.dg/cpp26/decomp30.C: New test. + * g++.dg/gomp/pr108503.C: Adjust expected diagnostic locations. + 2026-04-07 Christopher Albert <[email protected]> PR fortran/102430 diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index fde7f1c2e0df..41de699dcba8 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,21 @@ +2026-04-08 Rainer Orth <[email protected]> + + PR d/88150 + * testsuite/lib/libphobos.exp (libphobos_skipped_test_p): Extract + filename from $test. + * testsuite/libphobos.shared/shared.exp (libphobos_skip_tests): + Skip libphobos.shared/finalize.d etc. on Solaris. + +2026-04-08 Iain Buclaw <[email protected]> + + PR d/123202 + * testsuite/lib/libphobos.exp + (check_effective_target_phobos_ieee_flags_support): New proc. + * testsuite/libphobos.phobos/phobos.exp: Skip math/hardware.d tests if + target does not have phobos_iee_flags_support. + * testsuite/libphobos.phobos/shared/phobos-shared.exp: Likewise. + * testsuite/libphobos.phobos/static/phobos-static.exp: Likewise. + 2026-04-01 Iain Buclaw <[email protected]> * libdruntime/MERGE: Merge upstream druntime 55e64690bc. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dcc265563302..f5c478a18612 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,60 @@ +2026-04-08 Matthias Kretz <[email protected]> + Tomasz Kamiński <[email protected]> + + * include/bits/funcref_impl.h (function_ref::function_ref): + Change nontype_t parameter to constant_wrapper, and adjust + accordingly. Add static_assert detecting ambigous semantics. + (function_ref::operator=): Detect constant_wrapper rather than + nontype_t. + * include/bits/funcwrap.h (function_ref): Change nontype_t + parameter to constant_wrapper in deduction guides. + * include/bits/utility.h (std::nontype_t, std::nontype) + (std::__is_nontype_v): Remove. + (std::__is_constant_wrapper_v): Define. + * src/c++23/std.cc.in (std::nontype_t, std::nontype): + Remove exports. + * testsuite/20_util/function_ref/cw_cons_neg.cc: New tests + for ambiguity check. + * testsuite/20_util/function_ref/assign.cc: Replace nontype_t + with constant_wrapper and nontype with std::cw. + * testsuite/20_util/function_ref/call.cc: Likewise. + * testsuite/20_util/function_ref/cons.cc: Likewise. + * testsuite/20_util/function_ref/cons_neg.cc: Likewise. + * testsuite/20_util/function_ref/dangling.cc: Likewise. + * testsuite/20_util/function_ref/deduction.cc: Likewise. + * testsuite/20_util/function_ref/mutation.cc: Likewise. + +2026-04-08 Tomasz Kamiński <[email protected]> + + * include/bits/utility.h (std::_CwFixedValue, std::_ConstExprParam) + (std::_CwOperators, std::constant_wrapper): Moved from... + * include/std/type_traits (std::_CwFixedValue, std::_ConstExprParam) + (std::_CwOperators, std::constant_wrapper): Moved to bits/utility.h. + Disable __cpp_lib_constant_wrapper defintion. + * include/std/utility: Define __cpp_lib_constant_wrapper. + * testsuite/20_util/constant_wrapper/adl.cc: Updated header includes. + * testsuite/20_util/constant_wrapper/ex.cc: Likewise. + * testsuite/20_util/constant_wrapper/generic.cc: Likewise. + * testsuite/20_util/constant_wrapper/instantiate.cc: Likewise. + * testsuite/20_util/constant_wrapper/op_comma_neg.cc: Likewise. + * testsuite/20_util/constant_wrapper/other_wrappers.cc: Likewise. + * testsuite/20_util/constant_wrapper/version.cc: Likewise. + +2026-04-08 Jakub Jelinek <[email protected]> + + * include/std/type_traits (std::is_consteval_only, + std::is_consteval_only_v): Remove. + * include/std/meta (std::meta::is_consteval_only_type): Remove. + * src/c++23/std.cc.in: Don't export std::is_consteval_only, + std::is_consteval_only_v and std::meta::is_consteval_only_type. + * testsuite/20_util/is_consteval_only/requirements/explicit_instantiation.cc: + Remove. + * testsuite/20_util/is_consteval_only/requirements/typedefs.cc: + Remove. + * testsuite/20_util/is_consteval_only/value.cc: Remove. + * testsuite/20_util/variable_templates_for_traits.cc: Remove + is_consteval_only_v tests. + 2026-04-07 Tomasz Kamiński <[email protected]> * config/abi/pre/gnu.ver (GLIBCXX_3.4): Make string exports
