Skip to content

Commit c207dcf

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent aef0496 commit c207dcf

File tree

8 files changed

+341
-1
lines changed

8 files changed

+341
-1
lines changed

gcc/ChangeLog

+119
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,122 @@
1+
2025-03-06 Alexey Merzlyakov <[email protected]>
2+
3+
PR rtl-optimization/119099
4+
* ext-dce.cc (ext_dce_rd_transfer_n): Do not allow the livein
5+
set to shrink.
6+
7+
2025-03-06 Simon Martin <[email protected]>
8+
9+
* config/i386/x86-tune-sched.cc (ix86_fuse_mov_alu_p): Fix
10+
comment typo, paramter -> parameter.
11+
* config/lm32/lm32.cc (lm32_std_gimplify_va_arg_expr): Likewise.
12+
13+
2025-03-06 Wilco Dijkstra <[email protected]>
14+
15+
PR target/118351
16+
PR other/38768
17+
* common/config/aarch64/aarch64-common.cc: Enable early scheduling with
18+
-O3 and higher.
19+
* doc/invoke.texi (-fschedule-insns): Update comment.
20+
21+
2025-03-06 Richard Sandiford <[email protected]>
22+
23+
Revert:
24+
2025-03-06 Richard Sandiford <[email protected]>
25+
Jan Hubicka <[email protected]>
26+
27+
PR rtl-optimization/117477
28+
* config/aarch64/aarch64.cc (aarch64_count_saves): New function.
29+
(aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost)
30+
(aarch64_frame_allocation_cost): Likewise.
31+
(TARGET_CALLEE_SAVE_COST): Define.
32+
(TARGET_FRAME_ALLOCATION_COST): Likewise.
33+
* config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale):
34+
Replace with...
35+
(ix86_callee_save_cost): ...this new hook.
36+
(TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
37+
(TARGET_CALLEE_SAVE_COST): Define.
38+
* target.h (spill_cost_type, frame_cost_type): New enums.
39+
* target.def (callee_save_cost, frame_allocation_cost): New hooks.
40+
(ira_callee_saved_register_cost_scale): Delete.
41+
* doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
42+
(TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks.
43+
* doc/tm.texi: Regenerate.
44+
* hard-reg-set.h (hard_reg_set_popcount): New function.
45+
* ira-color.cc (allocated_memory_p): New variable.
46+
(allocated_callee_save_regs): Likewise.
47+
(record_allocation): New function.
48+
(assign_hard_reg): Use targetm.frame_allocation_cost to model
49+
the cost of the first spill or first caller save. Use
50+
targetm.callee_save_cost to model the cost of using new callee-saved
51+
registers. Apply the exit rather than entry frequency to the cost
52+
of restoring a register or deallocating the frame. Update the
53+
new variables above.
54+
(improve_allocation): Use record_allocation.
55+
(color): Initialize allocated_callee_save_regs.
56+
(ira_color): Initialize allocated_memory_p.
57+
* targhooks.h (default_callee_save_cost): Declare.
58+
(default_frame_allocation_cost): Likewise.
59+
* targhooks.cc (default_callee_save_cost): New function.
60+
(default_frame_allocation_cost): Likewise.
61+
62+
2025-03-06 Richard Biener <[email protected]>
63+
64+
PR lto/114501
65+
* ipa-free-lang-data.cc (find_decls_types_r): Explicitly
66+
handle CONSTRUCTORs as walk_tree handling of those is
67+
incomplete.
68+
69+
2025-03-06 Alex Coplan <[email protected]>
70+
71+
PR rtl-optimization/114492
72+
* pair-fusion.cc (pair_fusion_bb_info::fuse_pair): Check for singleton
73+
move range before calling restrict_movement.
74+
(pair_fusion::try_promote_writeback): Likewise.
75+
76+
2025-03-06 Richard Sandiford <[email protected]>
77+
Jan Hubicka <[email protected]>
78+
79+
PR rtl-optimization/117477
80+
* config/aarch64/aarch64.cc (aarch64_count_saves): New function.
81+
(aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost)
82+
(aarch64_frame_allocation_cost): Likewise.
83+
(TARGET_CALLEE_SAVE_COST): Define.
84+
(TARGET_FRAME_ALLOCATION_COST): Likewise.
85+
* config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale):
86+
Replace with...
87+
(ix86_callee_save_cost): ...this new hook.
88+
(TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
89+
(TARGET_CALLEE_SAVE_COST): Define.
90+
* target.h (spill_cost_type, frame_cost_type): New enums.
91+
* target.def (callee_save_cost, frame_allocation_cost): New hooks.
92+
(ira_callee_saved_register_cost_scale): Delete.
93+
* doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
94+
(TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks.
95+
* doc/tm.texi: Regenerate.
96+
* hard-reg-set.h (hard_reg_set_popcount): New function.
97+
* ira-color.cc (allocated_memory_p): New variable.
98+
(allocated_callee_save_regs): Likewise.
99+
(record_allocation): New function.
100+
(assign_hard_reg): Use targetm.frame_allocation_cost to model
101+
the cost of the first spill or first caller save. Use
102+
targetm.callee_save_cost to model the cost of using new callee-saved
103+
registers. Apply the exit rather than entry frequency to the cost
104+
of restoring a register or deallocating the frame. Update the
105+
new variables above.
106+
(improve_allocation): Use record_allocation.
107+
(color): Initialize allocated_callee_save_regs.
108+
(ira_color): Initialize allocated_memory_p.
109+
* targhooks.h (default_callee_save_cost): Declare.
110+
(default_frame_allocation_cost): Likewise.
111+
* targhooks.cc (default_callee_save_cost): New function.
112+
(default_frame_allocation_cost): Likewise.
113+
114+
2025-03-06 Richard Biener <[email protected]>
115+
116+
PR middle-end/119119
117+
* gimplify.cc (is_gimple_mem_rhs_or_call): All empty CTORs
118+
are OK when not a register type.
119+
1120
2025-03-05 Hannes Braun <[email protected]>
2121

3122
PR target/118942

gcc/DATESTAMP

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20250306
1+
20250307

gcc/cp/ChangeLog

+31
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
2025-03-06 Simon Martin <[email protected]>
2+
3+
* cp-tree.h (processing_contract_condition): Fix comment typo,
4+
paramter -> parameter.
5+
* parser.cc (cp_parser_requires_expression): Fix comment typo,
6+
delared -> declared.
7+
8+
2025-03-06 Jakub Jelinek <[email protected]>
9+
10+
PR c++/98533
11+
PR c++/119123
12+
* parser.cc (cp_parser_class_specifier): Update TYPE_FIELDS of
13+
variant types in case cp_parser_late_parsing_default_args etc. change
14+
TYPE_FIELDS on the main variant. Add switch_to_class lambda and
15+
use it to simplify repeated class switching code.
16+
17+
2025-03-06 Jakub Jelinek <[email protected]>
18+
19+
PR c++/119138
20+
* pt.cc (apply_late_template_attributes): Set p to NULL if
21+
ATTR_FLAG_TYPE_IN_PLACE is not set in attr_flags.
22+
(tsubst) <case POINTER_TYPE, case REFERENCE_TYPE, case ARRAY_TYPE>:
23+
Reuse original type even if TYPE_ATTRIBUTES is non-NULL, but all
24+
the attributes are non-dependent.
25+
26+
2025-03-06 Simon Martin <[email protected]>
27+
28+
PR c++/117504
29+
* call.cc (perform_implicit_conversion_flags): Don't call
30+
mark_{l,r}value_use.
31+
132
2025-03-05 Jason Merrill <[email protected]>
233
Jakub Jelinek <[email protected]>
334

gcc/fortran/ChangeLog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2025-03-06 Harald Anlauf <[email protected]>
2+
3+
PR fortran/119118
4+
* dependency.cc (gfc_contains_implied_index_p): Helper function to
5+
determine if an expression has a dependence on an implied-do index.
6+
* dependency.h (gfc_contains_implied_index_p): Add prototype.
7+
* trans-expr.cc (gfc_conv_substring): Adjust logic to not generate
8+
substring bounds checks before implied-do indices have been
9+
substituted.
10+
111
2025-03-05 Mark Wielaard <[email protected]>
212

313
* lang.opt.urls: Regenerated.

gcc/rust/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-03-06 Simon Martin <[email protected]>
2+
3+
* rust-diagnostics.h (RUST_ATTRIBUTE_GCC_DIAG): Fix comment
4+
typo, paramter -> parameter.
5+
16
2024-12-02 Owen Avery <[email protected]>
27
Thomas Schwinge <[email protected]>
38

gcc/testsuite/ChangeLog

+82
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
2025-03-06 Co-authored-by: Jeff Law <[email protected]>
2+
3+
PR rtl-optimization/119099
4+
* gcc.dg/torture/pr119099.c: New test.
5+
6+
2025-03-06 Harald Anlauf <[email protected]>
7+
8+
PR fortran/119118
9+
* gfortran.dg/bounds_check_23.f90: Generalize test.
10+
* gfortran.dg/bounds_check_26.f90: New test.
11+
12+
2025-03-06 Simon Martin <[email protected]>
13+
14+
* gcc.target/powerpc/ppc64-abi-1.c: Fix comment typos, paramter
15+
-> parameter.
16+
* gcc.target/powerpc/ppc64-abi-2.c: Likewise.
17+
18+
2025-03-06 Jakub Jelinek <[email protected]>
19+
20+
PR c++/98533
21+
PR c++/119123
22+
* g++.dg/cpp0x/pr98533.C: New test.
23+
* g++.dg/cpp0x/pr119123.C: New test.
24+
25+
2025-03-06 Jakub Jelinek <[email protected]>
26+
27+
PR c++/119138
28+
* g++.dg/template/pr119138.C: New test.
29+
30+
2025-03-06 Jakub Jelinek <[email protected]>
31+
32+
PR fortran/104826
33+
* gfortran.dg/gomp/pr104826.f90: New test.
34+
35+
2025-03-06 Richard Sandiford <[email protected]>
36+
37+
Revert:
38+
2025-03-06 Richard Sandiford <[email protected]>
39+
Jan Hubicka <[email protected]>
40+
41+
PR rtl-optimization/117477
42+
* gcc.target/aarch64/callee_save_1.c: New test.
43+
* gcc.target/aarch64/callee_save_2.c: Likewise.
44+
* gcc.target/aarch64/callee_save_3.c: Likewise.
45+
* gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
46+
47+
2025-03-06 Richard Biener <[email protected]>
48+
49+
PR lto/114501
50+
* g++.dg/pr114501_0.C: New testcase.
51+
52+
2025-03-06 Richard Sandiford <[email protected]>
53+
Jan Hubicka <[email protected]>
54+
55+
PR rtl-optimization/117477
56+
* gcc.target/aarch64/callee_save_1.c: New test.
57+
* gcc.target/aarch64/callee_save_2.c: Likewise.
58+
* gcc.target/aarch64/callee_save_3.c: Likewise.
59+
* gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
60+
61+
2025-03-06 Richard Biener <[email protected]>
62+
63+
PR middle-end/119119
64+
* g++.dg/torture/pr11911.C: New testcase.
65+
66+
2025-03-06 Simon Martin <[email protected]>
67+
68+
PR c++/117504
69+
* g++.dg/cpp2a/constexpr-117504.C: New test.
70+
* g++.dg/cpp2a/constexpr-117504a.C: New test.
71+
72+
2025-03-06 Pan Li <[email protected]>
73+
74+
* gcc.target/riscv/rvv/autovec/partial/multiple_rgroup_zbb.c: Tweak
75+
the asm check for vsetvl.
76+
77+
2025-03-06 Jeff Law <[email protected]>
78+
79+
* gcc.target/riscv/core_list_init.c: Use -fext-dce rather than
80+
-O1. Skip for -O0.
81+
* gcc.target/riscv/pr111384.c: Ditto.
82+
183
2025-03-05 Gaius Mulley <[email protected]>
284

385
PR modula2/118998

libstdc++-v3/ChangeLog

+88
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1+
2025-03-06 Jonathan Wakely <[email protected]>
2+
3+
* include/bits/unique_lock.h (unique_lock::operator=): Fix for
4+
self-move-assignment.
5+
* include/std/shared_mutex (shared_lock::operator=): Add
6+
comment.
7+
* testsuite/30_threads/shared_lock/cons/lwg4172.cc: New test.
8+
* testsuite/30_threads/unique_lock/cons/lwg4172.cc: New test.
9+
10+
2025-03-06 Jonathan Wakely <[email protected]>
11+
12+
* include/bits/stl_list.h (list::pop_front, list::pop_back):
13+
Add non-empty assertions.
14+
15+
2025-03-06 Jonathan Wakely <[email protected]>
16+
17+
* include/bits/ranges_util.h: Include <bits/stl_pair.h>.
18+
19+
2025-03-06 Jonathan Wakely <[email protected]>
20+
21+
* include/std/span (span::~span): Remove, as per LWG 3903.
22+
23+
2025-03-06 Jonathan Wakely <[email protected]>
24+
25+
PR libstdc++/119144
26+
* testsuite/26_numerics/complex/tuple_like.cc: Include
27+
<algorithm>, replace std::string with std::string_view,
28+
instantiate tests for long instead of size_t.
29+
30+
2025-03-06 Jonathan Wakely <[email protected]>
31+
Thomas Schwinge <[email protected]>
32+
33+
* src/c++20/tzdb.cc [__GTHREADS && !__GTHREADS_CXX0X]: Use
34+
'__gnu_cxx::__mutex'.
35+
36+
2025-03-06 Thomas Schwinge <[email protected]>
37+
38+
* src/c++20/format.cc (conv): Tag 'out' as '[[maybe_unused]]'.
39+
40+
2025-03-06 Thomas Schwinge <[email protected]>
41+
42+
* src/c++17/fs_dir.cc (do_unlink): Tag 'is_directory' as
43+
'[[maybe_unused]]'.
44+
45+
2025-03-06 Thomas Schwinge <[email protected]>
46+
47+
* src/filesystem/dir-common.h (openat): Tag 'nofollow' as
48+
'[[maybe_unused]]'.
49+
50+
2025-03-06 Thomas Schwinge <[email protected]>
51+
Jonathan Wakely <[email protected]>
52+
53+
* include/bits/c++config [!__cpp_exceptions]
54+
(_GLIBCXX_THROW_OR_ABORT): Reference '_EXC'.
55+
56+
2025-03-06 Jonathan Wakely <[email protected]>
57+
58+
* testsuite/20_util/specialized_algorithms/uninitialized_copy/constexpr.cc:
59+
Do not test COW std::string in constexpr contexts.
60+
* testsuite/20_util/specialized_algorithms/uninitialized_default_construct/constexpr.cc:
61+
Likewise.
62+
* testsuite/20_util/specialized_algorithms/uninitialized_fill/constexpr.cc:
63+
Likewise.
64+
* testsuite/20_util/specialized_algorithms/uninitialized_move/constexpr.cc:
65+
Likewise.
66+
* testsuite/20_util/specialized_algorithms/uninitialized_value_construct/constexpr.cc:
67+
Likewise.
68+
69+
2025-03-06 Giuseppe D'Angelo <[email protected]>
70+
71+
PR libstdc++/113310
72+
* include/bits/stl_pair.h (get): Forward-declare std::get for
73+
std::complex.
74+
* include/bits/version.def (tuple_like): Bump the value of
75+
the feature-testing macro in C++26.
76+
* include/bits/version.h: Regenerate.
77+
* include/std/complex: Implement the tuple protocol for
78+
std::complex.
79+
(tuple_size): Specialize for std::complex.
80+
(tuple_element): Ditto.
81+
(__is_tuple_like_v): Ditto.
82+
(complex): Add a private getter to obtain references to the real
83+
and the imaginary part, on the primary class template and on its
84+
specializations.
85+
(get): Add overloads of std::get for std::complex.
86+
* testsuite/20_util/tuple/tuple_like_ftm.cc: New test.
87+
* testsuite/26_numerics/complex/tuple_like.cc: New test.
88+
189
2025-03-05 Jonathan Wakely <[email protected]>
290

391
* include/std/ranges (enumerate_view::_Iterator::operator-):

lto-plugin/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-03-06 Michal Jires <[email protected]>
2+
3+
* lto-plugin.c (cleanup_handler): Keep only files in ltrans
4+
cache.
5+
16
2025-01-15 Michal Jires <[email protected]>
27

38
PR lto/118238

0 commit comments

Comments
 (0)