https://gcc.gnu.org/g:c207dcf393b864adc8eb41bbbcd630a6cfdc145a

commit r15-7875-gc207dcf393b864adc8eb41bbbcd630a6cfdc145a
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Fri Mar 7 00:17:19 2025 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 119 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/cp/ChangeLog        |  31 +++++++++++++
 gcc/fortran/ChangeLog   |  10 ++++
 gcc/rust/ChangeLog      |   5 ++
 gcc/testsuite/ChangeLog |  82 +++++++++++++++++++++++++++++++++
 libstdc++-v3/ChangeLog  |  88 +++++++++++++++++++++++++++++++++++
 lto-plugin/ChangeLog    |   5 ++
 8 files changed, 341 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dd0e361cad4c..dec21280bb6f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,122 @@
+2025-03-06  Alexey Merzlyakov  <alexey.merzlya...@samsung.com>
+
+       PR rtl-optimization/119099
+       * ext-dce.cc (ext_dce_rd_transfer_n): Do not allow the livein
+       set to shrink.
+
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       * config/i386/x86-tune-sched.cc (ix86_fuse_mov_alu_p): Fix
+       comment typo, paramter -> parameter.
+       * config/lm32/lm32.cc (lm32_std_gimplify_va_arg_expr): Likewise.
+
+2025-03-06  Wilco Dijkstra  <wilco.dijks...@arm.com>
+
+       PR target/118351
+       PR other/38768
+       * common/config/aarch64/aarch64-common.cc: Enable early scheduling with
+       -O3 and higher.
+       * doc/invoke.texi (-fschedule-insns): Update comment.
+
+2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+
+       Revert:
+       2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+                   Jan Hubicka  <hubi...@ucw.cz>
+
+       PR rtl-optimization/117477
+       * config/aarch64/aarch64.cc (aarch64_count_saves): New function.
+       (aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost)
+       (aarch64_frame_allocation_cost): Likewise.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       (TARGET_FRAME_ALLOCATION_COST): Likewise.
+       * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale):
+       Replace with...
+       (ix86_callee_save_cost): ...this new hook.
+       (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       * target.h (spill_cost_type, frame_cost_type): New enums.
+       * target.def (callee_save_cost, frame_allocation_cost): New hooks.
+       (ira_callee_saved_register_cost_scale): Delete.
+       * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks.
+       * doc/tm.texi: Regenerate.
+       * hard-reg-set.h (hard_reg_set_popcount): New function.
+       * ira-color.cc (allocated_memory_p): New variable.
+       (allocated_callee_save_regs): Likewise.
+       (record_allocation): New function.
+       (assign_hard_reg): Use targetm.frame_allocation_cost to model
+       the cost of the first spill or first caller save.  Use
+       targetm.callee_save_cost to model the cost of using new callee-saved
+       registers.  Apply the exit rather than entry frequency to the cost
+       of restoring a register or deallocating the frame.  Update the
+       new variables above.
+       (improve_allocation): Use record_allocation.
+       (color): Initialize allocated_callee_save_regs.
+       (ira_color): Initialize allocated_memory_p.
+       * targhooks.h (default_callee_save_cost): Declare.
+       (default_frame_allocation_cost): Likewise.
+       * targhooks.cc (default_callee_save_cost): New function.
+       (default_frame_allocation_cost): Likewise.
+
+2025-03-06  Richard Biener  <rguent...@suse.de>
+
+       PR lto/114501
+       * ipa-free-lang-data.cc (find_decls_types_r): Explicitly
+       handle CONSTRUCTORs as walk_tree handling of those is
+       incomplete.
+
+2025-03-06  Alex Coplan  <alex.cop...@arm.com>
+
+       PR rtl-optimization/114492
+       * pair-fusion.cc (pair_fusion_bb_info::fuse_pair): Check for singleton
+       move range before calling restrict_movement.
+       (pair_fusion::try_promote_writeback): Likewise.
+
+2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+           Jan Hubicka  <hubi...@ucw.cz>
+
+       PR rtl-optimization/117477
+       * config/aarch64/aarch64.cc (aarch64_count_saves): New function.
+       (aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost)
+       (aarch64_frame_allocation_cost): Likewise.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       (TARGET_FRAME_ALLOCATION_COST): Likewise.
+       * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale):
+       Replace with...
+       (ix86_callee_save_cost): ...this new hook.
+       (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       * target.h (spill_cost_type, frame_cost_type): New enums.
+       * target.def (callee_save_cost, frame_allocation_cost): New hooks.
+       (ira_callee_saved_register_cost_scale): Delete.
+       * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks.
+       * doc/tm.texi: Regenerate.
+       * hard-reg-set.h (hard_reg_set_popcount): New function.
+       * ira-color.cc (allocated_memory_p): New variable.
+       (allocated_callee_save_regs): Likewise.
+       (record_allocation): New function.
+       (assign_hard_reg): Use targetm.frame_allocation_cost to model
+       the cost of the first spill or first caller save.  Use
+       targetm.callee_save_cost to model the cost of using new callee-saved
+       registers.  Apply the exit rather than entry frequency to the cost
+       of restoring a register or deallocating the frame.  Update the
+       new variables above.
+       (improve_allocation): Use record_allocation.
+       (color): Initialize allocated_callee_save_regs.
+       (ira_color): Initialize allocated_memory_p.
+       * targhooks.h (default_callee_save_cost): Declare.
+       (default_frame_allocation_cost): Likewise.
+       * targhooks.cc (default_callee_save_cost): New function.
+       (default_frame_allocation_cost): Likewise.
+
+2025-03-06  Richard Biener  <rguent...@suse.de>
+
+       PR middle-end/119119
+       * gimplify.cc (is_gimple_mem_rhs_or_call): All empty CTORs
+       are OK when not a register type.
+
 2025-03-05  Hannes Braun  <han...@hannesbraun.net>
 
        PR target/118942
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 31df6d356f31..5f4d7bc93d21 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250306
+20250307
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7a8fa912935f..4f40e7299176 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,34 @@
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       * cp-tree.h (processing_contract_condition): Fix comment typo,
+       paramter -> parameter.
+       * parser.cc (cp_parser_requires_expression): Fix comment typo,
+       delared -> declared.
+
+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-06  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c++/119138
+       * pt.cc (apply_late_template_attributes): Set p to NULL if
+       ATTR_FLAG_TYPE_IN_PLACE is not set in attr_flags.
+       (tsubst) <case POINTER_TYPE, case REFERENCE_TYPE, case ARRAY_TYPE>:
+       Reuse original type even if TYPE_ATTRIBUTES is non-NULL, but all
+       the attributes are non-dependent.
+
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       PR c++/117504
+       * call.cc (perform_implicit_conversion_flags): Don't call
+       mark_{l,r}value_use.
+
 2025-03-05  Jason Merrill  <ja...@redhat.com>
            Jakub Jelinek  <ja...@redhat.com>
 
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index cbe64b26713e..3cd5e416ac45 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2025-03-06  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/119118
+       * dependency.cc (gfc_contains_implied_index_p): Helper function to
+       determine if an expression has a dependence on an implied-do index.
+       * dependency.h (gfc_contains_implied_index_p): Add prototype.
+       * trans-expr.cc (gfc_conv_substring): Adjust logic to not generate
+       substring bounds checks before implied-do indices have been
+       substituted.
+
 2025-03-05  Mark Wielaard  <m...@klomp.org>
 
        * lang.opt.urls: Regenerated.
diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog
index 8d4ea911671d..09acd1d300ce 100644
--- a/gcc/rust/ChangeLog
+++ b/gcc/rust/ChangeLog
@@ -1,3 +1,8 @@
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       * rust-diagnostics.h (RUST_ATTRIBUTE_GCC_DIAG): Fix comment
+       typo, paramter -> parameter.
+
 2024-12-02  Owen Avery  <powerboat9.ga...@gmail.com>
            Thomas Schwinge  <tschwi...@baylibre.com>
 
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index db6b398fb3de..2808653e2ae2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,85 @@
+2025-03-06  Co-authored-by: Jeff Law  <j...@ventanamicro.com>
+
+       PR rtl-optimization/119099
+       * gcc.dg/torture/pr119099.c: New test.
+
+2025-03-06  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/119118
+       * gfortran.dg/bounds_check_23.f90: Generalize test.
+       * gfortran.dg/bounds_check_26.f90: New test.
+
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       * gcc.target/powerpc/ppc64-abi-1.c: Fix comment typos, paramter
+       -> parameter.
+       * gcc.target/powerpc/ppc64-abi-2.c: Likewise.
+
+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-06  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c++/119138
+       * g++.dg/template/pr119138.C: New test.
+
+2025-03-06  Jakub Jelinek  <ja...@redhat.com>
+
+       PR fortran/104826
+       * gfortran.dg/gomp/pr104826.f90: New test.
+
+2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+
+       Revert:
+       2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+                   Jan Hubicka  <hubi...@ucw.cz>
+
+       PR rtl-optimization/117477
+       * gcc.target/aarch64/callee_save_1.c: New test.
+       * gcc.target/aarch64/callee_save_2.c: Likewise.
+       * gcc.target/aarch64/callee_save_3.c: Likewise.
+       * gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
+
+2025-03-06  Richard Biener  <rguent...@suse.de>
+
+       PR lto/114501
+       * g++.dg/pr114501_0.C: New testcase.
+
+2025-03-06  Richard Sandiford  <richard.sandif...@arm.com>
+           Jan Hubicka  <hubi...@ucw.cz>
+
+       PR rtl-optimization/117477
+       * gcc.target/aarch64/callee_save_1.c: New test.
+       * gcc.target/aarch64/callee_save_2.c: Likewise.
+       * gcc.target/aarch64/callee_save_3.c: Likewise.
+       * gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
+
+2025-03-06  Richard Biener  <rguent...@suse.de>
+
+       PR middle-end/119119
+       * g++.dg/torture/pr11911.C: New testcase.
+
+2025-03-06  Simon Martin  <si...@nasilyan.com>
+
+       PR c++/117504
+       * g++.dg/cpp2a/constexpr-117504.C: New test.
+       * g++.dg/cpp2a/constexpr-117504a.C: New test.
+
+2025-03-06  Pan Li  <pan2...@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/partial/multiple_rgroup_zbb.c: Tweak
+       the asm check for vsetvl.
+
+2025-03-06  Jeff Law  <j...@ventanamicro.com>
+
+       * gcc.target/riscv/core_list_init.c: Use -fext-dce rather than
+       -O1.  Skip for -O0.
+       * gcc.target/riscv/pr111384.c: Ditto.
+
 2025-03-05  Gaius Mulley  <gaiusm...@gmail.com>
 
        PR modula2/118998
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 29980d169cfc..20f7616fdb48 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,91 @@
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/unique_lock.h (unique_lock::operator=): Fix for
+       self-move-assignment.
+       * include/std/shared_mutex (shared_lock::operator=): Add
+       comment.
+       * testsuite/30_threads/shared_lock/cons/lwg4172.cc: New test.
+       * testsuite/30_threads/unique_lock/cons/lwg4172.cc: New test.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/stl_list.h (list::pop_front, list::pop_back):
+       Add non-empty assertions.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/ranges_util.h: Include <bits/stl_pair.h>.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/std/span (span::~span): Remove, as per LWG 3903.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       PR libstdc++/119144
+       * testsuite/26_numerics/complex/tuple_like.cc: Include
+       <algorithm>, replace std::string with std::string_view,
+       instantiate tests for long instead of size_t.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+           Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * src/c++20/tzdb.cc [__GTHREADS && !__GTHREADS_CXX0X]: Use
+       '__gnu_cxx::__mutex'.
+
+2025-03-06  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * src/c++20/format.cc (conv): Tag 'out' as '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * src/c++17/fs_dir.cc (do_unlink): Tag 'is_directory' as
+       '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * src/filesystem/dir-common.h (openat): Tag 'nofollow' as
+       '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwi...@baylibre.com>
+           Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/c++config [!__cpp_exceptions]
+       (_GLIBCXX_THROW_OR_ABORT): Reference '_EXC'.
+
+2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
+
+       * 
testsuite/20_util/specialized_algorithms/uninitialized_copy/constexpr.cc:
+       Do not test COW std::string in constexpr contexts.
+       * 
testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constexpr.cc:
+       Likewise.
+       * 
testsuite/20_util/specialized_algorithms/uninitialized_fill/constexpr.cc:
+       Likewise.
+       * 
testsuite/20_util/specialized_algorithms/uninitialized_move/constexpr.cc:
+       Likewise.
+       * 
testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constexpr.cc:
+       Likewise.
+
+2025-03-06  Giuseppe D'Angelo  <giuseppe.dang...@kdab.com>
+
+       PR libstdc++/113310
+       * include/bits/stl_pair.h (get): Forward-declare std::get for
+       std::complex.
+       * include/bits/version.def (tuple_like): Bump the value of
+       the feature-testing macro in C++26.
+       * include/bits/version.h: Regenerate.
+       * include/std/complex: Implement the tuple protocol for
+       std::complex.
+       (tuple_size): Specialize for std::complex.
+       (tuple_element): Ditto.
+       (__is_tuple_like_v): Ditto.
+       (complex): Add a private getter to obtain references to the real
+       and the imaginary part, on the primary class template and on its
+       specializations.
+       (get): Add overloads of std::get for std::complex.
+       * testsuite/20_util/tuple/tuple_like_ftm.cc: New test.
+       * testsuite/26_numerics/complex/tuple_like.cc: New test.
+
 2025-03-05  Jonathan Wakely  <jwak...@redhat.com>
 
        * include/std/ranges (enumerate_view::_Iterator::operator-):
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index bd2c869e5d77..18c1f5377881 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,8 @@
+2025-03-06  Michal Jires  <mji...@suse.cz>
+
+       * lto-plugin.c (cleanup_handler): Keep only files in ltrans
+       cache.
+
 2025-01-15  Michal Jires  <mji...@suse.cz>
 
        PR lto/118238

Reply via email to