https://gcc.gnu.org/g:d338d6cd989770ee5d04e4ef7d7054bc07bd65af
commit r14-11668-gd338d6cd989770ee5d04e4ef7d7054bc07bd65af Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sun Apr 20 00:24:44 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 94 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 9 +++++ gcc/d/ChangeLog | 31 ++++++++++++++++ gcc/testsuite/ChangeLog | 60 +++++++++++++++++++++++++++++++ libatomic/ChangeLog | 26 ++++++++++++++ libquadmath/ChangeLog | 7 ++++ 7 files changed, 228 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6166ff352f66..9fb6d69a9a79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,97 @@ +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119808 + * gimple-lower-bitint.cc (gimple_lower_bitint): Don't set + m_single_use_names bits for SSA_NAMEs which have single use but + their SSA_NAME_DEF_STMT is a copy from another SSA_NAME which doesn't + have a single use, or single use which is such a copy etc. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-14 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119785 + * expmed.cc (init_expmed): Always pass QImode rather than mode to + set_src_cost passed to set_zero_cost. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-14 Jakub Jelinek <ja...@redhat.com> + + PR driver/119727 + * configure.ac (HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE): New check. + * gcc.cc: Include sys/personality.h if + HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + (try_generate_repro): Call + personality (personality (0xffffffffU) | ADDR_NO_RANDOMIZE) + if HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + * config.in: Regenerate. + * configure: Regenerate. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-12 Jakub Jelinek <ja...@redhat.com> + + PR driver/119727 + * gcc.cc (files_equal_p): Rewritten using fopen/fgets/fclose instead + of open/fstat/read/close. At the start of lines, ignore lowercase + hexadecimal addresses followed by space. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-12 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119722 + * gimple-lower-bitint.h (build_bitint_stmt_ssa_conflicts): Add + CLEAR argument. + * gimple-lower-bitint.cc (build_bitint_stmt_ssa_conflicts): Add + CLEAR argument. Call clear on gimple_assign_copy_p rhs1 if lhs + is large/huge bitint unless lhs is not in names. + * tree-ssa-coalesce.cc (build_ssa_conflict_graph): Adjust + build_bitint_stmt_ssa_conflicts caller. Move gimple_assign_copy_p + handling to after the build_bitint_stmt_ssa_conflicts call. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-11 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119707 + * gimple-lower-bitint.cc (bitint_large_huge::handle_cast): Only use + m_data[save_data_cnt] instead of m_data[save_data_cnt + 1] if + idx is odd and equal to low + 1. Remember tree_to_uhwi (idx) in + a temporary instead of calling the function multiple times. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-04 Jakub Jelinek <ja...@redhat.com> + + PR lto/119625 + * lto-opts.cc (lto_write_options): If neither flag_pic nor + flag_pie are set, check first for flag_pie and only later + for flag_pic rather than the other way around, use a temporary + variable. If flag_cf_protection is not set, don't append anything + if flag_cf_protection is none of CF_{NONE,FULL,BRANCH,RETURN} and + use a temporary variable. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * combine.cc (try_combine): For splitting of PARALLEL with + 2 independent SETs into i2 and i3 sets check reg_used_between_p + of the SET_DESTs rather than just modified_between_p. + 2025-04-17 Ard Biesheuvel <a...@kernel.org> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f0d1b43cb20d..f21e9cc781ee 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250419 +20250420 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f4c17e282148..0463457275cf 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-02 Jakub Jelinek <ja...@redhat.com> + + PR c/119582 + * c-typeck.cc (pointer_diff, build_binary_op): Call c_fully_fold on + __sanitizer_ptr_sub or __sanitizer_ptr_cmp arguments. + 2025-03-27 Jakub Jelinek <ja...@redhat.com> Backported from master: diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 1a7f7e1d6118..c230d8420616 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,34 @@ +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-15 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/119826 + * types.cc (TypeVisitor::visit (TypeEnum *)): Propagate flags of main + enum types to all forward-referenced variants. + +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-15 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/119817 + * imports.cc (ImportVisitor::visit (OverloadSet *)): Don't push + NULL_TREE to vector of import symbols. + +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-09 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118309 + * modules.cc: Include debug.h + (d_finish_compilation): Call debug_hooks->type_decl on all TYPE_DECLs. + * types.cc: Remove toplev.h include. + (finish_aggregate_type): Don't call rest_of_type_compilation or + rest_of_decl_compilation on type. + (TypeVisitor::visit (TypeEnum *)): Likewise. + 2025-03-31 Iain Buclaw <ibuc...@gdcproject.org> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1c50d7b3da39..3df16522439e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,63 @@ +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-15 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/119826 + * gdc.dg/debug/imports/pr119826b.d: New test. + * gdc.dg/debug/pr119826.d: New test. + +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-15 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/119817 + * gdc.dg/debug/imports/m119817/a.d: New test. + * gdc.dg/debug/imports/m119817/b.d: New test. + * gdc.dg/debug/imports/m119817/package.d: New test. + * gdc.dg/debug/pr119817.d: New test. + +2025-04-19 Iain Buclaw <ibuc...@gdcproject.org> + + Backported from master: + 2025-04-09 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118309 + * gdc.dg/debug/dwarf2/pr118309.d: New test. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-11 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/119707 + * gcc.dg/torture/bitint-76.c: New test. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-02 Jakub Jelinek <ja...@redhat.com> + + PR c/119582 + * gcc.dg/asan/pr119582.c: New test. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * gcc.c-torture/execute/pr119291.c: New test. + +2025-04-19 Xing Li <lix...@loongson.cn> + + Backported from master: + 2025-04-18 Xing Li <lix...@loongson.cn> + + * gcc.target/loongarch/vector/loongarch-vector.exp: Change + {dg-do-what-default} save and restore logical. + 2025-04-17 Ard Biesheuvel <a...@kernel.org> Backported from master: diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 2bc6c41a57ce..ea7cdb61543d 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,29 @@ +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jakub Jelinek <ja...@redhat.com> + + PR libgcc/101075 + PR libgcc/119796 + * config/mingw/lock.c (libat_lock_n, libat_unlock_n): Start with + computing how many locks will be needed and take into account + ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the + locks array and others from the start of it will be needed, first + lock the ones from the start followed by ones from the end. + +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jakub Jelinek <ja...@redhat.com> + + PR libgcc/101075 + PR libgcc/119796 + * config/posix/lock.c (libat_lock_n, libat_unlock_n): Start with + computing how many locks will be needed and take into account + ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the + locks array and others from the start of it will be needed, first + lock the ones from the start followed by ones from the end. + 2024-08-01 Release Manager * GCC 14.2.0 released. diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index f4359b7f2aa2..db940933a2fc 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,10 @@ +2025-04-19 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-09 Jakub Jelinek <ja...@redhat.com> + + * math/expq.c (C): Fix up THREEp96 constant. + 2025-04-08 Lulu Cheng <chengl...@loongson.cn> Backported from master: