]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 7 Mar 2025 00:17:19 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 7 Mar 2025 00:17:19 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/rust/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog
lto-plugin/ChangeLog

index dd0e361cad4c54c4332d076722ace6198d463a57..dec21280bb6f80ce28fb55ad6cc7e4bfa9ab284f 100644 (file)
@@ -1,3 +1,122 @@
+2025-03-06  Alexey Merzlyakov  <alexey.merzlyakov@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  <simon@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.dijkstra@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.sandiford@arm.com>
+
+       Revert:
+       2025-03-06  Richard Sandiford  <richard.sandiford@arm.com>
+                   Jan Hubicka  <hubicka@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  <rguenther@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.coplan@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.sandiford@arm.com>
+           Jan Hubicka  <hubicka@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  <rguenther@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  <hannes@hannesbraun.net>
 
        PR target/118942
index 31df6d356f31bd36c1e5ddd69744933924d3904e..5f4d7bc93d2139778c043f26e7696640ca6fd8c9 100644 (file)
@@ -1 +1 @@
-20250306
+20250307
index 7a8fa912935f495d7355a0f9ce9242d2bfef3326..4f40e7299176e0929e43c5ef856e8415e61832a8 100644 (file)
@@ -1,3 +1,34 @@
+2025-03-06  Simon Martin  <simon@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  <jakub@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  <jakub@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  <simon@nasilyan.com>
+
+       PR c++/117504
+       * call.cc (perform_implicit_conversion_flags): Don't call
+       mark_{l,r}value_use.
+
 2025-03-05  Jason Merrill  <jason@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index cbe64b26713e4ddac9a1f7d6bde56ca05461aa83..3cd5e416ac455096a29d44ad6082eca916a84de6 100644 (file)
@@ -1,3 +1,13 @@
+2025-03-06  Harald Anlauf  <anlauf@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  <mark@klomp.org>
 
        * lang.opt.urls: Regenerated.
index 8d4ea911671db8c9a0fd49f0b3f87a16eba1b9ed..09acd1d300ce3a246d14cd77f9a0b70a1a77fd73 100644 (file)
@@ -1,3 +1,8 @@
+2025-03-06  Simon Martin  <simon@nasilyan.com>
+
+       * rust-diagnostics.h (RUST_ATTRIBUTE_GCC_DIAG): Fix comment
+       typo, paramter -> parameter.
+
 2024-12-02  Owen Avery  <powerboat9.gamer@gmail.com>
            Thomas Schwinge  <tschwinge@baylibre.com>
 
index db6b398fb3deabbc2c160f8ca37feb6adad83b15..2808653e2ae280f92359e8fa754e86a5d4516131 100644 (file)
@@ -1,3 +1,85 @@
+2025-03-06  Co-authored-by: Jeff Law  <jlaw@ventanamicro.com>
+
+       PR rtl-optimization/119099
+       * gcc.dg/torture/pr119099.c: New test.
+
+2025-03-06  Harald Anlauf  <anlauf@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  <simon@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  <jakub@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  <jakub@redhat.com>
+
+       PR c++/119138
+       * g++.dg/template/pr119138.C: New test.
+
+2025-03-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/104826
+       * gfortran.dg/gomp/pr104826.f90: New test.
+
+2025-03-06  Richard Sandiford  <richard.sandiford@arm.com>
+
+       Revert:
+       2025-03-06  Richard Sandiford  <richard.sandiford@arm.com>
+                   Jan Hubicka  <hubicka@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  <rguenther@suse.de>
+
+       PR lto/114501
+       * g++.dg/pr114501_0.C: New testcase.
+
+2025-03-06  Richard Sandiford  <richard.sandiford@arm.com>
+           Jan Hubicka  <hubicka@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  <rguenther@suse.de>
+
+       PR middle-end/119119
+       * g++.dg/torture/pr11911.C: New testcase.
+
+2025-03-06  Simon Martin  <simon@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.li@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/partial/multiple_rgroup_zbb.c: Tweak
+       the asm check for vsetvl.
+
+2025-03-06  Jeff Law  <jlaw@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  <gaiusmod2@gmail.com>
 
        PR modula2/118998
index 29980d169cfcc473b247249daa1c0d0db93d611b..20f7616fdb48d90a5a099d0fe8e329f0e599c638 100644 (file)
@@ -1,3 +1,91 @@
+2025-03-06  Jonathan Wakely  <jwakely@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  <jwakely@redhat.com>
+
+       * include/bits/stl_list.h (list::pop_front, list::pop_back):
+       Add non-empty assertions.
+
+2025-03-06  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/ranges_util.h: Include <bits/stl_pair.h>.
+
+2025-03-06  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/span (span::~span): Remove, as per LWG 3903.
+
+2025-03-06  Jonathan Wakely  <jwakely@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  <jwakely@redhat.com>
+           Thomas Schwinge  <tschwinge@baylibre.com>
+
+       * src/c++20/tzdb.cc [__GTHREADS && !__GTHREADS_CXX0X]: Use
+       '__gnu_cxx::__mutex'.
+
+2025-03-06  Thomas Schwinge  <tschwinge@baylibre.com>
+
+       * src/c++20/format.cc (conv): Tag 'out' as '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwinge@baylibre.com>
+
+       * src/c++17/fs_dir.cc (do_unlink): Tag 'is_directory' as
+       '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwinge@baylibre.com>
+
+       * src/filesystem/dir-common.h (openat): Tag 'nofollow' as
+       '[[maybe_unused]]'.
+
+2025-03-06  Thomas Schwinge  <tschwinge@baylibre.com>
+           Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/c++config [!__cpp_exceptions]
+       (_GLIBCXX_THROW_OR_ABORT): Reference '_EXC'.
+
+2025-03-06  Jonathan Wakely  <jwakely@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.dangelo@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  <jwakely@redhat.com>
 
        * include/std/ranges (enumerate_view::_Iterator::operator-):
index bd2c869e5d77a640dfdca3f0cd33447f29b6eb89..18c1f5377881fec6652ed2a095965cdf6b4b7a77 100644 (file)
@@ -1,3 +1,8 @@
+2025-03-06  Michal Jires  <mjires@suse.cz>
+
+       * lto-plugin.c (cleanup_handler): Keep only files in ltrans
+       cache.
+
 2025-01-15  Michal Jires  <mjires@suse.cz>
 
        PR lto/118238