https://gcc.gnu.org/g:91ef303f5a486fd5fc200edee6550409fe211f8e
commit r14-11473-g91ef303f5a486fd5fc200edee6550409fe211f8e Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Fri Mar 28 00:23:52 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 117 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 10 +++++ gcc/cp/ChangeLog | 32 +++++++++++++ gcc/fortran/ChangeLog | 8 ++++ gcc/testsuite/ChangeLog | 115 +++++++++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 5 +++ libgcc/ChangeLog | 14 ++++++ 8 files changed, 302 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8fb00f47a36..de9d6162ba26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,120 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-26 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119417 + * tree-ssa-math-opts.cc (convert_mult_to_widen): Before changing + typeN because actual_precision/from_unsignedN differs cast rhsN + to typeN if it has a different type. + (convert_plusminus_to_widen): Before changing + typeN because actual_precision/from_unsignedN differs cast mult_rhsN + to typeN if it has a different type. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-26 Jakub Jelinek <ja...@redhat.com> + + PR target/119450 + * config/i386/i386.md (narrow test peephole2): Test for + offsettable_memref_p in condition. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-22 Jakub Jelinek <ja...@redhat.com> + + * gimplify.cc (warn_switch_unreachable_and_auto_init_r): Add missing + space in the middle of diagnostics. + * tree-vect-stmts.cc (vectorizable_load): Add missing space in the + middle of debug dump message. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 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-27 Richard Biener <rguent...@suse.de> + + Backported from master: + 2025-03-11 Richard Biener <rguent...@suse.de> + + PR middle-end/119204 + * builtins.cc (fold_builtin_strcspn): Preserve the original + expression type. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-11 Jakub Jelinek <ja...@redhat.com> + + PR c/119183 + * tree.cc (skip_simple_arithmetic): If first operand of binary + expr is TREE_CONSTANT or TREE_READONLY with no side-effects, call + tree_invariant_p on that operand first instead of on the second. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-05 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118953 + * value-range.cc (irange::union_bitmask): Update m_bitmask if + get_bitmask () is unknown_p and m_bitmask is not even when the + semantic bitmask didn't change and returning false. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-01 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/115871 + * omp-simd-clone.cc (simd_clone_adjust): For SIMD_CLONE_ARG_TYPE_MASK + and sc->mask_mode not VOIDmode, set elem_type to the characteristic + type rather than boolean_type_node. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-26 Jakub Jelinek <ja...@redhat.com> + + PR c/114870 + * ginclude/stddef.h (__STDC_VERSION_STDDEF_H__, unreachable): Don't + redefine multiple times if stddef.h is first included without __need_* + defines and later with them. Move nullptr_t and unreachable and + __STDC_VERSION_STDDEF_H__ definitions into the same + defined (__STDC_VERSION__) && __STDC_VERSION__ > 201710L #if block. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-24 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118915 + * tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): For + highj == NULL_TREE use TYPE_MAX_VALUE (TREE_TYPE (lowj)) rather + than TYPE_MAX_VALUE (type). + +2025-03-27 Lulu Cheng <chengl...@loongson.cn> + + Backported from master: + 2025-03-27 Lulu Cheng <chengl...@loongson.cn> + + PR target/119408 + * config/loongarch/loongarch.cc + (loongarch_c_mode_for_suffix): New. + (TARGET_C_MODE_FOR_SUFFIX): Define. + 2025-03-26 Alex Coplan <alex.cop...@arm.com> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0e0aca037f52..2bb0fd3370e1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250327 +20250328 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 4d4e85546784..f4c17e282148 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,13 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-parser.cc (c_parser_omp_atomic): For omp write call + default_function_array_read_conversion on the rhs expression. + Merge the two adjacent if (code == NOP_EXPR) blocks. + 2025-03-22 Martin Uecker <uec...@tugraz.at> Backported from master: diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f0e9067f4b0f..5dd0b662b4ff 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,35 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 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-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-06 Jakub Jelinek <ja...@redhat.com> + + PR c++/98533 + PR c++/119123 + * parser.cc (cp_parser_class_specifier): Update TYPE_FIELDS of + variant types in case cp_parser_late_parsing_default_args etc. change + TYPE_FIELDS on the main variant. Add switch_to_class lambda and + use it to simplify repeated class switching code. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-28 Jakub Jelinek <ja...@redhat.com> + + PR c++/119045 + * constexpr.cc (cxx_eval_store_expression) <case REALPART_EXPR>: + Assert that refs->is_empty () rather than probe == target. + (cxx_eval_store_expression) <case IMAGPART_EXPR>: Likewise. + 2025-03-25 Simon Martin <si...@nasilyan.com> Backported from master: diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8cb69a5ad73b..e0d7dfaff1c7 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,11 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-22 Jakub Jelinek <ja...@redhat.com> + + * resolve.cc (resolve_procedure_expression): Remove extraneous space + from the middle of diagnostics. + 2025-03-25 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65836fe215c4..3ef6c5476d8e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,118 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-26 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119417 + * gcc.dg/torture/pr119417.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-26 Jakub Jelinek <ja...@redhat.com> + + PR target/119450 + * gcc.target/i386/pr119450.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/119150 + * g++.dg/cpp2a/consteval41.C: New test. + +2025-03-27 Richard Biener <rguent...@suse.de> + + Backported from master: + 2025-03-11 Richard Biener <rguent...@suse.de> + + PR middle-end/119204 + * gcc.dg/pr119204.c: New testcase. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-11 Jakub Jelinek <ja...@redhat.com> + + PR c/119183 + * gcc.dg/pr119183.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-10 Jakub Jelinek <ja...@redhat.com> + Michael Leuchtenburg <mich...@slashhome.org> + + PR libgcc/119151 + * gcc.dg/pr119151.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-06 Jakub Jelinek <ja...@redhat.com> + + PR c++/98533 + PR c++/119123 + * g++.dg/cpp0x/pr98533.C: New test. + * g++.dg/cpp0x/pr119123.C: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-05 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118953 + * gcc.dg/torture/pr118953.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-01 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/115871 + * gcc.dg/gomp/simd-clones-8.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-28 Jakub Jelinek <ja...@redhat.com> + + PR c++/119045 + * g++.dg/cpp1y/constexpr-complex2.C: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-26 Jakub Jelinek <ja...@redhat.com> + + PR c/114870 + * gcc.dg/c23-stddef-2.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-c++-common/gomp/pr119000.c: New test. + +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-24 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118915 + * gcc.c-torture/execute/pr118915.c: New test. + +2025-03-27 Lulu Cheng <chengl...@loongson.cn> + + Backported from master: + 2025-03-27 Lulu Cheng <chengl...@loongson.cn> + + PR target/119408 + * gcc.target/loongarch/pr119408.c: New test. + 2025-03-26 Alex Coplan <alex.cop...@arm.com> Backported from master: diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 266ef87639ee..cc65296756c4 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2025-03-27 Roland McGrath <mcgra...@google.com> + + * configure.ac: Check for setlocale. + * configure, config.in: Regenerated. + 2024-11-25 Lewis Hyatt <lhy...@gmail.com> PR preprocessor/117118 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e9fda6423140..f5ff65369bde 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,17 @@ +2025-03-27 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-10 Jakub Jelinek <ja...@redhat.com> + Michael Leuchtenburg <mich...@slashhome.org> + + PR libgcc/119151 + * unwind-dw2-btree.h (btree_split_inner): Add size argument. If + left_fence is in the middle of [target,target + size - 1] range, + increase it to target + size - 1. + (btree_insert): Adjust btree_split_inner caller. If fence is smaller + than base + size - 1, increase it and separator of the slot to + base + size - 1. + 2025-02-20 Lulu Cheng <chengl...@loongson.cn> Backported from master: