https://gcc.gnu.org/g:453482db659716a3016827a3fcccb9459eb9c5b3
commit r16-8069-g453482db659716a3016827a3fcccb9459eb9c5b3 Author: GCC Administrator <[email protected]> Date: Fri Mar 13 00:16:40 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 69 ++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 43 ++++++++++ gcc/analyzer/ChangeLog | 32 ++++++++ gcc/c-family/ChangeLog | 6 ++ gcc/cp/ChangeLog | 82 +++++++++++++++++++ gcc/fortran/ChangeLog | 65 +++++++++++++++ gcc/po/ChangeLog | 4 + gcc/testsuite/ChangeLog | 210 ++++++++++++++++++++++++++++++++++++++++++++++++ libphobos/ChangeLog | 9 +++ libstdc++-v3/ChangeLog | 24 ++++++ 11 files changed, 545 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f365340fe505..dbe64b4541d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,72 @@ +2026-03-12 Andrew Pinski <[email protected]> + + PR rtl-optimization/123822 + * simplify-rtx.cc (simplify_context::simplify_subreg): Check the + mode of the part to be non-VOIDmode before calling gen_rtx_SUBREG. + +2026-03-12 Vladimir N. Makarov <[email protected]> + + PR rtl-optimization/124452 + * lra-constraints.cc (curr_insn_transform): Move return on the + postponed insn before any reload generation. + +2026-03-12 Rainer Orth <[email protected]> + + Revert: + 2026-02-06 Rainer Orth <[email protected]> + + * configure.ac (gnu_ld_flag): Move $gcc_cv_ld --version check into + AC_ARG_WITH(gnu-ld). + (gcc_cv_ld): Set before gnu_ld_flag. + (gas_flag): Move $gcc_cv_ld --version check into AC_ARG_WITH(gnu-ld). + (gcc_cv_as): Set before gas_flag. + * configure: Regenerate. + +2026-03-12 Martin Jambor <[email protected]> + + PR objc/124260 + * ipa-prop.cc (ipa_analyze_var_static_initializer): Skip a constructor + entry if its index is NULL. + +2026-03-12 Richard Biener <[email protected]> + + PR bootstrap/124406 + * ipa-pure-const.cc (skip_function_for_local_pure_const): + Do not analyze interposable functions when LTO is enabled. + +2026-03-12 H.J. Lu <[email protected]> + + PR target/122925 + PR target/119979 + * config/sh/sh.cc (TARGET_PROMOTE_PROTOTYPES): Removed. + +2026-03-12 Philipp Tomsich <[email protected]> + + * fold-mem-offsets.cc (do_analysis): Revise comment. + +2026-03-12 Andrew Pinski <[email protected]> + + PR middle-end/120030 + * symtab.cc (symtab_node::set_init_priority): Better + handle the case of setting the priority back to default. + (cgraph_node::set_fini_priority): Likewise. + +2026-03-12 Andrew Pinski <[email protected]> + + * doc/extend.texi (constructor/destructor): Add documentation + about multiple attributes here. + +2026-03-12 Andrew Pinski <[email protected]> + + * doc/extend.texi (constructor/destructor): Document + the priority when none is supplied. + +2026-03-12 Andrew Pinski <[email protected]> + + PR target/124409 + * doc/install.texi: Increment the required binutils for + riscv to 2.40. + 2026-03-12 Marek Polacek <[email protected]> PR c++/124397 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 09c968498710..d82eff2846b6 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260312 +20260313 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 1cf36661c4e9..1813dc5c00d6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,46 @@ +2026-03-12 Steve Baird <[email protected]> + + PR ada/124016 + * libgnat/a-cbinho.adb (Create_Subpool): Handle the case where + the type Holder_Subpool has nontrivial finalization. Declare the + local variable Subpool with its Import aspect specified (to avoid + unwanted finalization), and make corresponding changes in order to + initialize that variable. + * libgnat/s-stposu.ads (_Adjust_Clone): New procedure. + * libgnat/s-stposu.adb (_Adjust_Clone): New body. + +2026-03-12 Eric Botcazou <[email protected]> + + PR ada/124369 + * accessibility.adb (Accessibility_Message): Give an error instead + of a warning in an instance when No_Dynamic_Accessibility_Checks is + in effect. + (Innermost_Master_Scope_Depth): Restore the original computation of + the nearest enclosing dynamic scope. + * sem_attr.adb (Resolve_Attribute) <Attribute_Access>: Call the + Accessibility_Message routine in all cases to give accessibility + errors and do not return. Call the Static_Accessibility_Level + function in all cases to compute static accessibility levels. + Add guard before calling Prefix_With_Safe_Accessibility_Level. + +2026-03-12 Eric Botcazou <[email protected]> + + PR ada/124376 + * sem_res.adb (Resolve_Actuals.Check_Aliased_Parameter): Deal with + assignment statements. + +2026-03-12 Eric Botcazou <[email protected]> + + PR ada/124376 + * accessibility.adb (Accessibility_Level): Minor formatting tweaks. + (Accessibility_Level.Function_Call_Or_Allocator_Level): Implement + AI12-0402. Reimplement the loop climbing up the parent chain to + find an object being initialized. Restrict the specific handling + of N_Assignment_Statement nodes to the anonymous access type case. + * doc/gnat_rm/implementation_of_ada_2022_features.rst: Adjust the + entries of AI12-0277, AI12-0345 & AI12-0372, add one for AI12-0402. + * gnat_rm.texi: Regenerate. + 2026-03-07 Eric Botcazou <[email protected]> PR target/124336 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f1f950e5c588..9f28dd24e284 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,35 @@ +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124451 + * region-model-manager.cc + (region_model_manager::maybe_invert_comparison_in_unaryop): New, + adapted from... + (region_model_manager::maybe_fold_unaryop): ...here, splitting out + the comparison inversion case for TRUTH_NOT_EXPR. Add a case for + BIT_NOT_EXPR, reusing the inversion logic when dealing with + boolean types. + * region-model-manager.h + (region_model_manager::maybe_invert_comparison_in_unaryop): New decl. + +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124375 + * ops.cc (ggoto_edge_op::apply_constraints): Ensure that we write + back a rejected_constraint if the edge is infeasible. + * region-model.cc (region_model::add_constraint): Convert + rejected_op_constraint from tree to const svalue *. + (rejected_op_constraint::dump_to_pp): Likewise. + * region-model.h (class rejected_op_constraint): Likewise. + +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124433 + * region-model-manager.cc + (region_model_manager::maybe_fold_binop): When checking for + division by zero, use the value range of the divisor, rather + than merely checking for constant 0. + * region-model.cc (region_model::get_gassign_result): Likewise. + 2026-03-06 David Malcolm <[email protected]> PR testsuite/112520 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ca8355206e0d..c884859aa44c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2026-03-12 Marek Polacek <[email protected]> + + PR c++/124447 + * c-opts.cc (c_common_post_options): Error if -freflection is used + without -std=c++26 or -std=gnu++26. + 2026-03-07 Martin Uecker <[email protected]> PR c/123856 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9e8bd6caf934..61c4e3b291eb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,85 @@ +2026-03-12 Nathaniel Shead <[email protected]> + Thomas Berger <[email protected]> + + PR c++/124200 + * name-lookup.h (walk_namespace_bindings): Declare. + * name-lookup.cc (walk_namespace_bindings): New function. + * reflect.cc (namespace_members_of): Use it. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124309 + * module.cc (enum module_directness): Fix inconsistent + capitalisation. + (module_state::read_imports): Reparent module locations newly + seen as direct via partition. + +2026-03-12 Marek Polacek <[email protected]> + + PR c++/124440 + * parser.cc (cp_parser_postfix_dot_deref_expression): Pass + parser->scope to adjust_result_of_qualified_name_lookup even + when splice_p. Assign the result of + adjust_result_of_qualified_name_lookup to name. + * pt.cc (tsubst_expr): Call adjust_result_of_qualified_name_lookup + for BASELINKs in splice-expressions. + * search.cc (adjust_result_of_qualified_name_lookup): Return early + if decl is not a BASELINK. If qualifying_scope is null, use decl's + binfo. Set BASELINK_QUALIFIED_P only if qualifying_scope wasn't + null. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124459 + * module.cc (module_state::read_initial): Move + read_diagnostic_classification after read_macro_maps. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124311 + * module.cc (trees_in::key_mergeable): Check DECL_DEFAULTED_FN + instead of DECL_ARTIFICIAL. + +2026-03-12 Nathaniel Shead <[email protected]> + + * decl.cc (start_decl): Check module_may_redeclare for members. + (grokfndecl): Likewise. + +2026-03-12 Nathaniel Shead <[email protected]> + + * semantics.cc (begin_class_definition): Move + module_may_redeclare check to... + * parser.cc (cp_parser_class_head): ...here. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124390 + * module.cc (depset::hash::add_binding_entity): Don't create + bindings for hidden friends. + +2026-03-12 Jakub Jelinek <[email protected]> + + * reflect.cc (check_out_of_consteval_use_r): Don't walk BLOCK + subtrees. + +2026-03-12 Jakub Jelinek <[email protected]> + + * parser.cc (cp_parser_omp_taskwait): Set TREE_TYPE of OMP_TASK + to void_type_node rather than void_node. + (cp_parser_omp_dispatch): Likewise. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR c++/124425 + * reflect.cc (get_range_elts): Handle proxy iterators. Call + fold_build_cleanup_point_expr on both deref and inc. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124431 + * module.cc (trees_in::key_mergeable): Allow merging members of + template specialisations. + 2026-03-12 Marek Polacek <[email protected]> PR c++/124397 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 44182be1f416..44215e8e4cad 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,68 @@ +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/102596 + * trans-openmp.cc (gfc_omp_clause_default_ctor): Only require an + outer reference when the constructor path actually uses it. + +2026-03-12 Jerry DeLisle <[email protected]> + Gilles Gouaillardet <[email protected]> + + PR fortran/121743 + * trans-decl.cc (build_function_decl): Adjust the + gcc_assert condition to avoid the ICE. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/115316 + * match.cc (spec_list_type): A version of gfc_spec_list_type, + which returns true if any of the LEN parameters are deferred. + (gfc_match_allocate): Use it to set saw_deferred if any of the + parameters of the allocate object are deferred. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/122696 + * resolve.cc (resolve_assoc_var): A generic function selector + must be resolved to a specific function before doing anything + more with the associate name. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR fortran/124450 + * trans-io.cc (transfer_expr): If code is NULL, call + transfer_array_component with NULL where argument rather than + &code->loc. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/97818 + * trans-decl.cc (gfc_trans_deferred_vars): Make sure that the + result symbol is referenced before allocating parameterized + components. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/82721 + * decl.cc (discard_pending_charlen): New helper. + (build_sym): Discard unattached CHARACTER length nodes when + gfc_add_type rejects the declaration. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/106946 + * decl.cc (gfc_match_data_decl): Remove CLASS components added by a + failed declaration in a derived type, and guard symtree deletion. + * gfortran.h (gfc_free_component, gfc_delete_symtree): Declare. + * symbol.cc (gfc_free_component): New function. + (free_components): Use it. + (gfc_delete_symtree): Make non-static. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/110877 + * trans-expr.cc (gfc_trans_assignment_1): Recover the class + vptr for scalarized elements of nonpointer dummy arrays. + 2026-03-11 Christopher Albert <[email protected]> PR fortran/95338 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 98d47804c7e0..d38dc605add4 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2026-03-12 Joseph Myers <[email protected]> + + * sv.po: Update. + 2026-03-11 Joseph Myers <[email protected]> * sv.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b3136e1c7e18..5271d408f468 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,213 @@ +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/102596 + * gfortran.dg/pr102596.f90: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + Thomas Berger <[email protected]> + + PR c++/124200 + * g++.dg/modules/reflect-2_a.H: New test. + * g++.dg/modules/reflect-2_b.C: New test. + * g++.dg/modules/reflect-2_c.C: New test. + * g++.dg/modules/reflect-3_a.H: New test. + * g++.dg/modules/reflect-3_b.C: New test. + * g++.dg/modules/reflect-3_c.C: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124309 + * g++.dg/modules/part-11_a.C: New test. + * g++.dg/modules/part-11_b.C: New test. + * g++.dg/modules/part-11_c.C: New test. + * g++.dg/modules/part-11_d.C: New test. + * g++.dg/modules/part-11_e.C: New test. + +2026-03-12 Andrew Pinski <[email protected]> + + PR rtl-optimization/123822 + * gcc.dg/torture/pr123822-1.c: New test. + +2026-03-12 Andrew Pinski <[email protected]> + + PR testsuite/119930 + * g++.dg/coroutines/torture/pr103953.C: Store the second + lambda into its own object to extend its lifeime. + +2026-03-12 Jerry DeLisle <[email protected]> + Gilles Gouaillardet <[email protected]> + + PR fortran/121743 + * gfortran.dg/pr121743.f90: New test. + +2026-03-12 Rainer Orth <[email protected]> + + PR tree-optimization/80006 + * gcc.dg/attr-alloc_size-11.c (dg-warning): Remove xfails. + +2026-03-12 Rainer Orth <[email protected]> + + PR middle-end/121159 + * gcc.dg/plugin/must-tail-call-2.c (dg-additional-options): Add + -fdelayed-branch on SPARC. + +2026-03-12 Marek Polacek <[email protected]> + + * g++.dg/reflect/define_static_array5.C: New test. + +2026-03-12 Marek Polacek <[email protected]> + + PR c++/124440 + * g++.dg/reflect/member21.C: Uncomment the commented out asserts. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/115316 + * gfortran.dg/pdt_87.f03: New test. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/122696 + * gfortran.dg/pdt_89.f03: New test. + +2026-03-12 Eric Botcazou <[email protected]> + + * ada/acats-3/tests/c3/c3a0025.a: Tweak. + * ada/acats-4/tests/c3/c3a0025.a: Likewise. + * gnat.dg/access12.adb: New test. + +2026-03-12 Eric Botcazou <[email protected]> + + * gnat.dg/aliased3.adb: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124459 + * g++.dg/modules/warn-spec-4_a.C: New test. + * g++.dg/modules/warn-spec-4_b.C: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124311 + * g++.dg/modules/imp-member-5_a.C: New test. + * g++.dg/modules/imp-member-5_b.C: New test. + * g++.dg/modules/imp-member-5_c.C: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + * g++.dg/modules/class-12_a.C: New test. + * g++.dg/modules/class-12_b.C: New test. + * g++.dg/modules/class-12_c.C: New test. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR c++/124154 + * g++.dg/cpp23/explicit-obj-lambda21.C: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + * g++.dg/modules/class-13_a.C: New test. + * g++.dg/modules/class-13_b.C: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124390 + * g++.dg/modules/friend-13.C: New test. + +2026-03-12 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/omp_depend1.C: New test. + +2026-03-12 H.J. Lu <[email protected]> + + PR target/122925 + PR target/119979 + * gcc.dg/pr122925.c: New test. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR fortran/124450 + * gfortran.dg/pr124450.f90: New test. + +2026-03-12 Paul Thomas <[email protected]> + + PR fortran/97818 + * gfortran.dg/pdt_88.f03: New test. + +2026-03-12 Andrew Pinski <[email protected]> + + PR middle-end/120030 + * gcc.dg/constructor-2.c: New test. + +2026-03-12 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/omp_taskwait1.C: New test. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR c++/124425 + * g++.dg/reflect/define_static_array4.C: Enable commented out + static_asserts and fix up the first one. + (as_pair): Make sure to return std::pair <int, int>. + * g++.dg/reflect/reflect_constant_array4.C: Enable commented out + static_asserts and fix up the first one. + (as_pair): Make sure to return std::pair <int, int>. + * g++.dg/reflect/reflect_constant_array7.C: New test. + * g++.dg/reflect/reflect_constant_array8.C: New test. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/102333 + PR fortran/102333 + * gfortran.dg/pr102333.f90: New test. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/103139 + PR fortran/103139 + * gfortran.dg/pr103139.f90: New test. + +2026-03-12 Nathaniel Shead <[email protected]> + + PR c++/124431 + * g++.dg/modules/merge-21_a.C: New test. + * g++.dg/modules/merge-21_b.C: New test. + * g++.dg/modules/merge-21_c.C: New test. + * g++.dg/modules/merge-21_d.C: New test. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/82721 + * gfortran.dg/pr82721.f90: New test. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/106946 + * gfortran.dg/pr106946.f90: Cover allocatable and pointer CLASS + declarations, including a valid component followed by a bad one. + +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124451 + * gcc.dg/analyzer/conditionals-pr124451-_Bool.c: New test. + * gcc.dg/analyzer/conditionals-pr124451-enum.c: New test. + +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124375 + * gcc.dg/analyzer/ice-pr124375-1.c: New test. + * gcc.dg/analyzer/ice-pr124375-2.c: New test. + +2026-03-12 David Malcolm <[email protected]> + + PR analyzer/124433 + * gcc.dg/analyzer/divide-by-zero-ice-pr124433.c: New test. + +2026-03-12 Christopher Albert <[email protected]> + + PR fortran/110877 + * gfortran.dg/pr110877.f90: New test. + 2026-03-12 Marek Polacek <[email protected]> PR c++/124397 diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 0c976264d648..27909b288dd8 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,12 @@ +2026-03-12 Rainer Orth <[email protected]> + + PR d/123202 + * src/std/math/hardware.d (getIeeeFlags) [GNU && SPARC_Any]: Implement. + (resetIeeeFlags) [GNU && SPARC_Any]: Likewise. + (hasExceptionTraps) [SPARC_Any]: Return true. + (getControlState) [GNU && SPARC_Any]: Implement. + (setControlState) [GNU && SPARC_Any]: Likewise. + 2026-02-05 Iain Buclaw <[email protected]> * src/MERGE: Merge upstream phobos f7249cf45. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 35829a40214d..b32ae26eb344 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,27 @@ +2026-03-12 Rainer Orth <[email protected]> + + PR libstdc++/124290 + * testsuite/23_containers/mdspan/submdspan/selections/left_padded.cc: + Use dg-timeout-factor 4. + * testsuite/23_containers/mdspan/submdspan/selections/left.cc: + * testsuite/23_containers/mdspan/submdspan/selections/right_padded.cc: + * testsuite/23_containers/mdspan/submdspan/selections/right.cc: + Likewise. + * testsuite/23_containers/mdspan/submdspan/selections/stride.cc: + Likewise. + +2026-03-12 Jonathan Wakely <[email protected]> + + * include/std/format (__format::_Ptr_sink::_M_finish): Rename + __max variable to __m. + * testsuite/17_intro/names.cc (__max): Define function-like + macro. + +2026-03-12 Jakub Jelinek <[email protected]> + + PR libstdc++/124443 + * include/std/meta (std::define_static_object): Use CTAD for span. + 2026-03-11 Jakub Jelinek <[email protected]> * include/std/meta (std::meta::exception::what()): Use
