https://gcc.gnu.org/g:03855565ae8fb8a256139b353ef14e7b9f7df6b8
commit r15-8015-g03855565ae8fb8a256139b353ef14e7b9f7df6b8 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Thu Mar 13 00:18:24 2025 +0000 Daily bump. Diff: --- ChangeLog | 4 ++ contrib/ChangeLog | 5 +++ gcc/ChangeLog | 43 +++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 12 ++++++ gcc/cp/ChangeLog | 62 ++++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 24 ++++++++++++ gcc/testsuite/ChangeLog | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 6 +++ libgcobol/ChangeLog | 4 ++ libphobos/ChangeLog | 8 ++++ libstdc++-v3/ChangeLog | 89 ++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 358 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6de72a5e11e6..fa117d8e6c50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-03-12 Robert Dubner <rdub...@symas.com> + + * MAINTAINERS: Remove extraneous entries for "Robert Dubner" + 2025-03-11 Bob Dubner <rdub...@symas.com> * MAINTAINERS: Add myself. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 60db0c617b6a..42f4a757a86f 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2025-03-12 Jason Merrill <ja...@redhat.com> + + PR libstdc++/119081 + * relpath.sh: Give relative path even at /. + 2025-03-11 Jonathan Wakely <jwak...@redhat.com> * gcc-git-customization.sh: Delete outdated commands for diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 704146d97aa2..133ca601c665 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,46 @@ +2025-03-12 Alex Coplan <alex.cop...@arm.com> + + PR rtl-optimization/116564 + * df-problems.cc (df_simulate_defs): For partial defs, mark the + register live (treat it as a RMW operation). + +2025-03-12 Richard Earnshaw <rearn...@arm.com> + + PR target/115439 + * config/arm/predicates.md (vpr_register_operand): Allow type-punning + subregs. + +2025-03-12 Richard Sandiford <richard.sandif...@arm.com> + + PR target/116901 + * config/aarch64/aarch64.cc (aarch64_vector_costs::count_ops): Allow + stmt_info to be null. + (aarch64_vector_costs::add_stmt_cost): Call count_ops even if + stmt_info is null. + +2025-03-12 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/116901 + * tree-vect-loop.cc (vectorizable_reduction): Set ncopies to + SLP_TREE_NUMBER_OF_VEC_STMTS for SLP. + +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + * tree.def (RAW_DATA_CST): Document meaning of NULL RAW_DATA_OWNER. + (CONSTRUCTOR): Document meaning of RAW_DATA_CST used as element + value. + +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119204 + PR middle-end/119219 + * builtins.cc (fold_builtin_2): Pass type as another argument + to fold_builtin_strspn and fold_builtin_strcspn. + (fold_builtin_strspn): Add type argument, use it instead of + size_type_node. + (fold_builtin_strcspn): Add type argument, use it instead of + TREE_TYPE (expr). + 2025-03-12 Jeff Law <j...@ventanamicro.com> Revert: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index a2876d18ceb6..450c315bb779 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250312 +20250313 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index fd4e6bea4c77..dde0bbdafbb7 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,15 @@ +2025-03-12 Mark Wielaard <m...@klomp.org> + + * lang.opt.urls: Regenerated. + +2025-03-12 Simon Martin <si...@nasilyan.com> + + * Make-lang.in: Remove unnecessary CPPFLAGS update. + +2025-03-12 Richard Biener <rguent...@suse.de> + + * Make-lang.in (lang_checks): Add check-cobol. + 2025-03-11 Richard Biener <rguent...@suse.de> * gcobolspec.cc (lang_specific_driver): For OPT_print_* do diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fe62748e3da9..eb84360ebe7d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,65 @@ +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/119150 + * constexpr.cc (cxx_eval_call_expression): For + DECL_IMMEDIATE_FUNCTION_P (fun) set manifestly_const_eval in new_ctx + and new_call to mce_true and set ctx to &new_ctx. + +2025-03-12 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/118799 + * module.cc (depset::hash::is_tu_local_entity): Only types, + functions, variables, and template (specialisations) can be + TU-local. Explicit type aliases are TU-local iff the type they + refer to are. + (module_state::write_namespaces): Allow unnamed namespaces in + named modules. + (check_module_decl_linkage): Error for all exported declarations + in an unnamed namespace. + +2025-03-12 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/119154 + * decl2.cc (vague_linkage_p): Don't treat gnu_inline functions + as having vague linkage. + * module.cc (trees_out::core_bools): Clear DECL_INTERFACE_KNOWN + for vague-linkage entities. + (read_var_def): Maybe set comdat linkage for imported var + definitions. + (module_state::read_cluster): Use expand_or_defer_fn instead of + ad-hoc linkage management. + (post_load_processing): Likewise. + * semantics.cc (expand_or_defer_fn_1): Don't forget that we had + a definition at all. + +2025-03-12 Marek Polacek <pola...@redhat.com> + + PR c++/117512 + * typeck.cc (cp_build_indirect_ref_1): Only do the *&e -> e + folding if the result would be an lvalue. + +2025-03-12 Simon Martin <si...@nasilyan.com> + + PR c++/110584 + * cp-tree.h (strip_normal_capture_proxy): Declare. + * lambda.cc (strip_normal_capture_proxy): New function to look + through normal capture proxies. + (build_capture_proxy): Use it. + * semantics.cc (process_outer_var_ref): Likewise. + +2025-03-12 Marek Polacek <pola...@redhat.com> + + PR c++/119134 + * pt.cc (check_for_bare_parameter_packs): Check DECL_CONTEXT. + +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/119076 + * module.cc (trees_out::start): Handle RAW_DATA_CST. + (trees_in::start): Likewise. + (trees_out::core_vals): Likewise. + (trees_in::core_vals): Likewise. + 2025-03-11 Jason Merrill <ja...@redhat.com> PR c++/119162 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 957cc088f500..48fc496c715c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,27 @@ +2025-03-12 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/98903 + * array.cc (gfc_copy_array_ref): Copy team, team_type and stat. + (match_team_or_stat): Match a single team(_number)= or stat=. + (gfc_match_array_ref): Add switching to image_selector_parsing + and error handling when indices come after named arguments. + * coarray.cc (move_coarray_ref): Move also team_type. + * expr.cc (gfc_free_ref_list): Free team and stat expression. + (gfc_find_team_co): Find team or team_number in array-ref. + * gfortran.h (enum gfc_array_ref_team_type): New enum to + distinguish unset, team or team_number expression. + (gfc_find_team_co): Default searching to team= expressions. + * resolve.cc (resolve_array_ref): Check for type correctness of + team(_number) and stats in coindices. + * trans-array.cc (gfc_conv_array_ref): Ensure stat is cleared + when fcoarray=single is used. + * trans-intrinsic.cc (conv_stat_and_team): Including team_number + in conversion. + (gfc_conv_intrinsic_caf_get): Propagate team_number to ABI + routine. + (conv_caf_send_to_remote): Same. + (conv_caf_sendget): Same. + 2025-03-11 Harald Anlauf <anl...@gmx.de> PR fortran/119199 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 95a405651c60..5592ed416dcf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,103 @@ +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/119150 + * g++.dg/cpp2a/consteval41.C: New test. + +2025-03-12 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/118799 + * g++.dg/modules/export-6.C: Adjust error message, add check for + no-linkage decls in namespace. + * g++.dg/modules/internal-4_b.C: Allow exposing a namespace with + internal linkage. Type aliases are not entities and so never + exposures. + * g++.dg/modules/using-30_a.C: New test. + * g++.dg/modules/using-30_b.C: New test. + * g++.dg/modules/using-30_c.C: New test. + +2025-03-12 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/119154 + * g++.dg/modules/linkage-3_a.C: New test. + * g++.dg/modules/linkage-3_b.C: New test. + * g++.dg/modules/pr119154_a.C: New test. + * g++.dg/modules/pr119154_b.C: New test. + +2025-03-12 Marek Polacek <pola...@redhat.com> + + PR c++/117512 + * g++.dg/cpp0x/alignas23.C: New test. + * g++.dg/ext/align3.C: New test. + * g++.dg/ext/align4.C: New test. + * g++.dg/ext/align5.C: New test. + +2025-03-12 Simon Martin <si...@nasilyan.com> + + PR c++/110584 + * g++.dg/cpp0x/lambda/lambda-nested10.C: New test. + +2025-03-12 Richard Earnshaw <rearn...@arm.com> + + PR target/117931 + * gcc.target/arm/lp1243022.c: Delete non-functional test. + +2025-03-12 Thomas Koenig <tkoe...@gcc.gnu.org> + + PR fortran/119078 + * gfortran.dg/binding_label_tests_26b.f90: Remove bogus dg-error + statements. + +2025-03-12 Marek Polacek <pola...@redhat.com> + + PR c++/119134 + * g++.dg/cpp2a/lambda-uneval24.C: New test. + +2025-03-12 Alex Coplan <alex.cop...@arm.com> + + PR rtl-optimization/116564 + * gcc.target/aarch64/torture/pr116564.c: New test. + +2025-03-12 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/98903 + * gfortran.dg/coarray/coindexed_2.f90: New test. + * gfortran.dg/coarray/coindexed_3.f08: New test. + * gfortran.dg/coarray/coindexed_4.f08: New test. + +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119226 + * gcc.c-torture/compile/pr119226.c: New test. + +2025-03-12 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/116901 + * gcc.target/aarch64/sve/reduc_strict_4.c: Turn off costing. + * gcc.target/aarch64/sve/reduc_strict_5.c: Likewise. + +2025-03-12 Richard Sandiford <richard.sandif...@arm.com> + + * gcc.target/aarch64/pr110625_1.c: Turn into a positive test for + a vector latency of 2, rather than a negative test for a vector + latency of 8. + +2025-03-12 Richard Biener <rguent...@suse.de> + + * lib/cobol-dg.exp: New, based on gfortran-dg.exp. + * lib/cobol.exp: New, based on gfortran.exp. + * cobol.dg/dg.exp: New. + * cobol.dg/pass.cob: New test. + * cobol.dg/fail.cob: Likewise. + * cobol.dg/error-1.cob: Likewise. + +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/119076 + * g++.dg/modules/pr119076-1_a.H: New test. + * g++.dg/modules/pr119076-1_b.C: New test. + * g++.dg/modules/pr119076-2_a.H: New test. + * g++.dg/modules/pr119076-2_b.C: New test. + 2025-03-11 Jakub Jelinek <ja...@redhat.com> PR c/117178 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index ead01f8a74c7..ec5a7302f215 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR preprocessor/119202 + * charset.cc (convert_oct): Fix up typo in diagnostics about \o + not followed by {. + 2025-02-28 Jakub Jelinek <ja...@redhat.com> * include/cpplib.h (enum cpp_warning_reason): Add diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index b3e69c0645a9..2c479b732d6a 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,7 @@ +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * charmaps.cc: Fix typo in comment. + 2025-03-11 Jakub Jelinek <ja...@redhat.com> * config.h.in: Regenerate. diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 2ca6f0369589..a03a8dc53456 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,11 @@ +2025-03-12 Iain Buclaw <ibuc...@gdcproject.org> + + * src/MERGE: Merge upstream phobos 0faae92d6. + * testsuite/libphobos.phobos/std_array.d: Regenerate. + * testsuite/libphobos.phobos/std_conv.d: Regenerate. + * testsuite/libphobos.phobos/std_functional.d: Regenerate. + * testsuite/libphobos.phobos/std_sumtype.d: Regenerate. + 2025-02-27 Iain Buclaw <ibuc...@gdcproject.org> * testsuite/libphobos.unittest/unittest.exp: Use `dg-runtest' rather diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a38ed442eac9..4d700c0a81f5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,92 @@ +2025-03-12 Patrick Palka <ppa...@redhat.com> + + * include/bits/version.def (ranges_to_input): Define. + * include/bits/version.h: Regenerate. + * include/std/ranges (ranges::to_input_view): Define for C++26. + (views::__detail::__can_to_input): Likewise. + (views::_ToInput, views::to_input): Likewise. + * testsuite/std/ranges/adaptors/to_input/1.cc: New test. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/std/format: Include <bits/monostate.h> instead of + <variant>. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/std/format (basic_format_parse_context::__once): New + variable template. + (basic_format_parse_context::__valid_types_for_check_dynamic_spec): + New function template for checking argument types. + (basic_format_parse_context::__check_dynamic_spec): New function + template to implement the common check_dynamic_spec logic. + (basic_format_parse_context::check_dynamic_spec_integral): Call + __check_dynamic_spec instead of check_dynamic_spec. + (basic_format_parse_context::check_dynamic_spec_string): + Likewise. Use _CharT instead of char_type consistently. + (basic_format_parse_context::check_dynamic_spec): Use + __valid_types_for_check_dynamic_spec for precondition checks and + call __check_dynamic_spec for checking the arg id. + * testsuite/std/format/parse_ctx_neg.cc: Adjust expected errors. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/std/future (packaged_task::packaged_task(F&&)): Add + static_assert. + * testsuite/30_threads/packaged_task/cons/dangling_ref.cc: Add + dg-error for new static assertion. + * testsuite/30_threads/packaged_task/cons/lwg4154_neg.cc: New + test. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/std/chrono (__detail::__get_leap_second_info): Update + expiry date for leap seconds list. + * src/c++20/tzdata.zi: Import new file from 2025a release. + * src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds) + Update expiry date for leap seconds list. + +2025-03-12 Tomasz KamiĆski <tkami...@redhat.com> + + * include/std/format (formatter<_Float16, _CharT>): Define only if + _GLIBCXX_FLOAT_IS_IEEE_BINARY32 macro is defined. + (formatter<_Float16, _CharT>): As above. + (formatter<__gnu_cxx::__bfloat16_t, _CharT>): As above. + (formatter<_Float64, _CharT>): Define only if + _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 is defined. + (basic_format_arg::_S_to_arg_type): Normalize _Float32 and _Float64 + only to float and double respectivelly. + (basic_format_arg::_S_to_enum): Remove handling of _Float32 and _Float64. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * doc/xml/manual/strings.xml: Tweak formatting. Add example + using lambda. + * doc/html/manual/strings.html: Regenerate. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/unique_ptr.h (unique_ptr::operator*): Add + static_assert to check for dangling reference, as per LWG 4148. + * testsuite/20_util/unique_ptr/lwg4148.cc: New test. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/ranges_util.h (ranges::_detail::__has_arrow): + Require operator->() to be valid on const-qualified type, as per + LWG 4112. + * testsuite/std/ranges/adaptors/lwg4112.cc: New test. + +2025-03-12 Jonathan Wakely <jwak...@redhat.com> + + * include/std/format + (basic_format_parse_context::check_dynamic_spec): Require a + non-empty parameter pack, as per LWG 4142. + * testsuite/std/format/parse_ctx.cc: Remove call of + check_dynamic_spec with empty template argument list. + * testsuite/std/format/parse_ctx_neg.cc: Add dg-error to call of + check_dynamic_spec with empty template argument list. + 2025-03-08 Giuseppe D'Angelo <giuseppe.dang...@kdab.com> * include/bits/version.def (atomic_value_initialization):