Skip to content

Commit e8c2f3a

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent ab714e6 commit e8c2f3a

File tree

7 files changed

+374
-1
lines changed

7 files changed

+374
-1
lines changed

gcc/ChangeLog

+173
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,176 @@
1+
2025-03-07 Jakub Jelinek <[email protected]>
2+
3+
PR c/117178
4+
* tree.cc (get_attr_nonstring_decl): Look through all ARRAY_REFs, not
5+
just one and handle COMPONENT_REF and MEM_REF after skipping those
6+
rather than only when there wasn't ARRAY_REF. Formatting fix.
7+
8+
2025-03-07 Kees Cook <[email protected]>
9+
Jakub Jelinek <[email protected]>
10+
11+
PR c/117178
12+
* doc/invoke.texi (Wunterminated-string-initialization): Document
13+
the new interaction between this warning and -Wc++-compat and that
14+
initialization of decls with nonstring attribute aren't warned about.
15+
16+
2025-03-07 Sandra Loosemore <[email protected]>
17+
18+
PR sanitizer/56682
19+
* doc/invoke.texi (Instrumentation Options): Document that -g
20+
is useful with -fsanitize=thread and -fsanitize=address.
21+
Also mention -fno-omit-frame-pointer per the asan wiki.
22+
23+
2025-03-07 Richard Sandiford <[email protected]>
24+
Jan Hubicka <[email protected]>
25+
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-07 Sandra Loosemore <[email protected]>
63+
64+
PR target/116708
65+
* doc/invoke.texi (x86 Options): Clarify how -msse4 and -mno-sse4
66+
interact with other SSE options.
67+
68+
2025-03-07 Martin Jambor <[email protected]>
69+
70+
PR ipa/118318
71+
* ipa-cp.cc (adjust_clone_incoming_counts): Add a compatible_p check.
72+
73+
2025-03-07 Richard Earnshaw <[email protected]>
74+
75+
* config/arm/arm_neon.h: Try harder to detect if we have
76+
the softfp ABI enabled.
77+
78+
2025-03-07 Jakub Jelinek <[email protected]>
79+
80+
PR c/112960
81+
PR c/117029
82+
* doc/extend.texi (Complex): Add I and J suffixes to the list of
83+
complex suffixes, adjust for all of those being part of ISO C2Y,
84+
clarify that for -fno-ext-numeric-literals none of those are
85+
recognized as GNU extensions and for C++14 i is considered UDL
86+
even for -fext-numeric-literals when <complex> is included.
87+
88+
2025-03-07 Simon Martin <[email protected]>
89+
90+
* tree-vect-data-refs.cc: Define INCLUDE_ALGORITHM.
91+
92+
2025-03-07 Tamar Christina <[email protected]>
93+
94+
PR tree-optimization/118464
95+
PR tree-optimization/116855
96+
* doc/invoke.texi (min-pagesize): Update docs with vectorizer use.
97+
* tree-vect-data-refs.cc (vect_analyze_early_break_dependences): Delay
98+
checks.
99+
(vect_compute_data_ref_alignment): Remove alignment checks and move to
100+
get_load_store_type, increase group access alignment.
101+
(vect_enhance_data_refs_alignment): Add note to comment needing
102+
investigating.
103+
(vect_analyze_data_refs_alignment): Likewise.
104+
(vect_supportable_dr_alignment): For group loads look at first DR.
105+
* tree-vect-stmts.cc (get_load_store_type):
106+
Perform safety checks for early break pfa.
107+
* tree-vectorizer.h (dr_set_safe_speculative_read_required,
108+
dr_safe_speculative_read_required, DR_SCALAR_KNOWN_BOUNDS): New.
109+
(need_peeling_for_alignment): Renamed to...
110+
(safe_speculative_read_required): .. This
111+
(class dr_vec_info): Add scalar_access_known_in_bounds.
112+
113+
2025-03-07 Tamar Christina <[email protected]>
114+
115+
PR tree-optimization/118464
116+
PR tree-optimization/116855
117+
* config/aarch64/aarch64-sve.md (@extract_<last_op>_<mode>,
118+
@fold_extract_<last_op>_<mode>,
119+
@aarch64_fold_extract_vector_<last_op>_<mode>): Change SVE_FULL to
120+
SVE_ALL.
121+
* config/aarch64/iterators.md (vccore): Add more partial types.
122+
123+
2025-03-07 Richard Biener <[email protected]>
124+
125+
PR tree-optimization/119145
126+
* tree-vectorizer.cc (try_vectorize_loop_1): Avoid BB
127+
vectorizing an if-converted loop body when there's a .MASK_CALL
128+
in the loop body.
129+
130+
2025-03-07 Christophe Lyon <[email protected]>
131+
132+
PR target/115485
133+
* config/arm/arm.cc (require_pic_register): Fix typos in
134+
comment. Handle fixed arm_pic_register.
135+
136+
2025-03-07 Richard Sandiford <[email protected]>
137+
138+
PR tree-optimization/116125
139+
* tree-vect-data-refs.cc (vect_prune_runtime_alias_test_list): Make
140+
the dr_with_seg_len alignment fields describe tha access sizes as
141+
well as the pointer alignment.
142+
* tree-data-ref.cc (create_intersect_range_checks): Don't compensate
143+
for invalid alignment fields here.
144+
145+
2025-03-07 Richard Sandiford <[email protected]>
146+
147+
PR target/119133
148+
* config/aarch64/aarch64.md
149+
(*aarch64_bfi<GPI:mode><ALLX:mode>_<SUBDI_BITS>): Use
150+
force_lowpart_subreg.
151+
152+
2025-03-07 Richard Biener <[email protected]>
153+
154+
PR middle-end/118801
155+
* tree-ssa-dce.cc (eliminate_unnecessary_stmts): Prune
156+
sequences of uninterrupted DEBUG BEGIN_STMTs, keeping only
157+
the last of a set with unique location.
158+
159+
2025-03-07 Sandra Loosemore <[email protected]>
160+
161+
PR c/113515
162+
* doc/invoke.texi (Warning Options): Improve -Wstringop-overflow
163+
documentation.
164+
165+
2025-03-07 Haochen Jiang <[email protected]>
166+
167+
* config/i386/avx10_2-512convertintrin.h
168+
(_mm512_mask_cvtbf8_ph): Correct mask width.
169+
(_mm512_maskz_cvtbf8_ph): Ditto.
170+
* config/i386/avx10_2convertintrin.h
171+
(_mm256_mask_cvtbf8_ph): Ditto.
172+
(_mm256_maskz_cvtbf8_ph): Ditto.
173+
1174
2025-03-06 Alexey Merzlyakov <[email protected]>
2175

3176
PR rtl-optimization/119099

gcc/DATESTAMP

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

gcc/c-family/ChangeLog

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2025-03-07 Jakub Jelinek <[email protected]>
2+
3+
PR c/117178
4+
* c-attribs.cc (handle_nonstring_attribute): Allow the attribute also
5+
on multi-dimensional arrays with char/signed char/unsigned char
6+
element type or pointers to such single and multi-dimensional arrays.
7+
8+
2025-03-07 Kees Cook <[email protected]>
9+
Jakub Jelinek <[email protected]>
10+
11+
PR c/117178
12+
* c.opt (Wunterminated-string-initialization): Don't depend on
13+
-Wc++-compat.
14+
115
2025-03-05 Marek Polacek <[email protected]>
216

317
PR c++/115580

gcc/c/ChangeLog

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2025-03-07 Kees Cook <[email protected]>
2+
Jakub Jelinek <[email protected]>
3+
4+
PR c/117178
5+
* c-typeck.cc (digest_init): Add DECL argument. Adjust wording of
6+
pedwarn_init for too long strings and provide details on the lengths,
7+
for string literals where just the trailing NULL doesn't fit warn for
8+
warn_cxx_compat with OPT_Wc___compat, wording which mentions "for C++"
9+
and provides details on lengths, otherwise for
10+
warn_unterminated_string_initialization adjust the warning, provide
11+
details on lengths and don't warn if get_attr_nonstring_decl (decl).
12+
(build_c_cast, store_init_value, output_init_element): Adjust
13+
digest_init callers.
14+
15+
2025-03-07 Andrew Pinski <[email protected]>
16+
17+
PR c/60440
18+
* c-typeck.cc (c_finish_return): Mark the current function
19+
for supression of the -Wreturn-type if there was an error
20+
on the return statement.
21+
122
2025-02-26 Jakub Jelinek <[email protected]>
223

324
PR c/119001

gcc/cp/ChangeLog

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2025-03-07 Marek Polacek <[email protected]>
2+
3+
PR c++/118775
4+
* constexpr.cc (cxx_eval_call_expression): Check tree_fits_uhwi_p.
5+
6+
2025-03-07 Nathaniel Shead <[email protected]>
7+
8+
* constexpr.cc (potential_constant_expression_1): Handle
9+
TU_LOCAL_ENTITY.
10+
* pt.cc (expr_contains_tu_local_entity): Remove.
11+
(function_contains_tu_local_entity): Remove.
12+
(dependent_operand_p): Remove special handling for
13+
TU_LOCAL_ENTITY.
14+
(tsubst_expr): Handle TU_LOCAL_ENTITY when tsubsting OVERLOADs;
15+
remove now-unnecessary extra handling.
16+
(type_dependent_expression_p): Handle TU_LOCAL_ENTITY.
17+
118
2025-03-06 Simon Martin <[email protected]>
219

320
* cp-tree.h (processing_contract_condition): Fix comment typo,

gcc/testsuite/ChangeLog

+128
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,131 @@
1+
2025-03-07 Jakub Jelinek <[email protected]>
2+
3+
PR c/117178
4+
* c-c++-common/attr-nonstring-7.c: Remove one xfail.
5+
* c-c++-common/attr-nonstring-9.c: New test.
6+
* c-c++-common/attr-nonstring-10.c: New test.
7+
* c-c++-common/attr-nonstring-11.c: New test.
8+
* c-c++-common/attr-nonstring-12.c: New test.
9+
* c-c++-common/attr-nonstring-13.c: New test.
10+
* c-c++-common/attr-nonstring-14.c: New test.
11+
* c-c++-common/attr-nonstring-15.c: New test.
12+
* c-c++-common/attr-nonstring-16.c: New test.
13+
14+
2025-03-07 Kees Cook <[email protected]>
15+
Jakub Jelinek <[email protected]>
16+
17+
PR c/117178
18+
* gcc.dg/Wunterminated-string-initialization.c: Add additional test
19+
coverage.
20+
* gcc.dg/Wcxx-compat-14.c: Check in dg-warning for "for C++" part of
21+
the diagnostics.
22+
* gcc.dg/Wcxx-compat-23.c: New test.
23+
* gcc.dg/Wcxx-compat-24.c: New test.
24+
25+
2025-03-07 Andrew Pinski <[email protected]>
26+
27+
* gcc.dg/Wreturn-mismatch-2a.c: Change dg-warning
28+
for the last -Wreturn-type to dg-bogus.
29+
* gcc.dg/Wreturn-mismatch-6.c: Likewise.
30+
31+
2025-03-07 Richard Sandiford <[email protected]>
32+
Jan Hubicka <[email protected]>
33+
34+
35+
PR rtl-optimization/117477
36+
* gcc.target/aarch64/callee_save_1.c: New test.
37+
* gcc.target/aarch64/callee_save_2.c: Likewise.
38+
* gcc.target/aarch64/callee_save_3.c: Likewise.
39+
* gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
40+
41+
2025-03-07 Andrew Pinski <[email protected]>
42+
43+
PR c/60440
44+
* gcc.dg/Wreturn-mismatch-2.c: Change dg-warning
45+
for the last -Wreturn-type to dg-bogus.
46+
* gcc.dg/pr60440-1.c: New test.
47+
48+
2025-03-07 Marek Polacek <[email protected]>
49+
50+
PR c++/118775
51+
* g++.dg/cpp2a/constexpr-new24.C: New test.
52+
* g++.dg/cpp2a/constexpr-new25.C: New test.
53+
54+
2025-03-07 Richard Earnshaw <[email protected]>
55+
56+
* lib/target-supports.exp
57+
(check_effective_target_arm_neon_h_ok_nocache): New function.
58+
(check_effective_target_arm_neon_h_ok): Likewise.
59+
(add_options_for_arm_neon_h): Likewise.
60+
(check_effective_target_arm_libc_fp_abi_ok_nocache): Allow any
61+
Arm target, not just arm32.
62+
* gcc.target/arm/attr-neon-builtin-fail.c: Use it.
63+
* gcc.target/arm/attr-neon-builtin-fail2.c: Likewise.
64+
* gcc.target/arm/attr-neon-fp16.c: Likewise.
65+
* gcc.target/arm/attr-neon2.c: Likewise.
66+
67+
2025-03-07 Tamar Christina <[email protected]>
68+
69+
PR tree-optimization/118464
70+
PR tree-optimization/116855
71+
* gcc.dg/vect/bb-slp-pr65935.c: Update, it now vectorizes because the
72+
load type is relaxed later.
73+
* gcc.dg/vect/vect-early-break_121-pr114081.c: Update.
74+
* gcc.dg/vect/vect-early-break_22.c: Require partial vectors.
75+
* gcc.dg/vect/vect-early-break_128.c: Likewise.
76+
* gcc.dg/vect/vect-early-break_26.c: Likewise.
77+
* gcc.dg/vect/vect-early-break_43.c: Likewise.
78+
* gcc.dg/vect/vect-early-break_44.c: Likewise.
79+
* gcc.dg/vect/vect-early-break_2.c: Require load_lanes.
80+
* gcc.dg/vect/vect-early-break_7.c: Likewise.
81+
* gcc.dg/vect/vect-early-break_132-pr118464.c: New test.
82+
* gcc.dg/vect/vect-early-break_133_pfa1.c: New test.
83+
* gcc.dg/vect/vect-early-break_133_pfa11.c: New test.
84+
* gcc.dg/vect/vect-early-break_133_pfa10.c: New test.
85+
* gcc.dg/vect/vect-early-break_133_pfa2.c: New test.
86+
* gcc.dg/vect/vect-early-break_133_pfa3.c: New test.
87+
* gcc.dg/vect/vect-early-break_133_pfa4.c: New test.
88+
* gcc.dg/vect/vect-early-break_133_pfa5.c: New test.
89+
* gcc.dg/vect/vect-early-break_133_pfa6.c: New test.
90+
* gcc.dg/vect/vect-early-break_133_pfa7.c: New test.
91+
* gcc.dg/vect/vect-early-break_133_pfa8.c: New test.
92+
* gcc.dg/vect/vect-early-break_133_pfa9.c: New test.
93+
* gcc.dg/vect/vect-early-break_39.c: Update testcase for misalignment.
94+
* gcc.dg/vect/vect-early-break_18.c: Likewise.
95+
* gcc.dg/vect/vect-early-break_20.c: Likewise.
96+
* gcc.dg/vect/vect-early-break_21.c: Likewise.
97+
* gcc.dg/vect/vect-early-break_38.c: Likewise.
98+
* gcc.dg/vect/vect-early-break_6.c: Likewise.
99+
* gcc.dg/vect/vect-early-break_53.c: Likewise.
100+
* gcc.dg/vect/vect-early-break_56.c: Likewise.
101+
* gcc.dg/vect/vect-early-break_57.c: Likewise.
102+
* gcc.dg/vect/vect-early-break_81.c: Likewise.
103+
104+
2025-03-07 Richard Biener <[email protected]>
105+
106+
PR tree-optimization/119145
107+
* gcc.dg/vect/pr119145.c: New testcase.
108+
109+
2025-03-07 Christophe Lyon <[email protected]>
110+
111+
PR target/115485
112+
* g++.target/arm/pr115485.C: New test.
113+
114+
2025-03-07 Richard Sandiford <[email protected]>
115+
116+
PR tree-optimization/116125
117+
* gcc.dg/vect/pr116125.c: New test.
118+
119+
2025-03-07 Richard Sandiford <[email protected]>
120+
121+
PR target/119133
122+
* gcc.dg/torture/pr119133.c: New test.
123+
124+
2025-03-07 Haochen Jiang <[email protected]>
125+
126+
* gcc.target/i386/avx10_2-512-convert-1.c: Change function call.
127+
* gcc.target/i386/avx10_2-convert-1.c: Ditto.
128+
1129
2025-03-06 Co-authored-by: Jeff Law <[email protected]>
2130

3131
PR rtl-optimization/119099

libstdc++-v3/ChangeLog

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2025-03-07 Jonathan Wakely <[email protected]>
2+
3+
* include/std/forward_list (erase): Change lambda to have
4+
explicit return type and const parameter type.
5+
* include/std/list (erase): Likewise.
6+
* testsuite/23_containers/forward_list/erasure.cc: Check lambda
7+
is correct.
8+
* testsuite/23_containers/list/erasure.cc: Likewise.
9+
10+
2025-03-07 Jonathan Wakely <[email protected]>
11+
12+
* include/bits/chrono_io.h (chrono::__detail::from_stream): Add
13+
deleted function as poison pill for unqualified lookup.
14+
15+
2025-03-07 Jonathan Wakely <[email protected]>
16+
17+
* include/std/expected (expected<cv void,E>::value()&&):
18+
Add missing static_assert for LWG 3940.
19+
* testsuite/20_util/expected/lwg3843.cc: New test.
20+
121
2025-03-06 Jonathan Wakely <[email protected]>
222

323
* include/bits/unique_lock.h (unique_lock::operator=): Fix for

0 commit comments

Comments
 (0)