Skip to content

Commit 90b735b

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 6be1b9e commit 90b735b

File tree

4 files changed

+149
-1
lines changed

4 files changed

+149
-1
lines changed

gcc/ChangeLog

+70
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,73 @@
1+
2025-02-24 Robin Dapp <[email protected]>
2+
3+
PR target/114516
4+
* config/riscv/riscv-vector-costs.cc (compute_estimated_lmul):
5+
Add pattern statements to program points.
6+
7+
2025-02-24 Robin Dapp <[email protected]>
8+
9+
PR middle-end/118950
10+
* tree-vect-patterns.cc (vect_recog_gather_scatter_pattern): Use
11+
original LHS's type.
12+
13+
2025-02-24 Jakub Jelinek <[email protected]>
14+
15+
PR tree-optimization/118915
16+
* tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): For
17+
highj == NULL_TREE use TYPE_MAX_VALUE (TREE_TYPE (lowj)) rather
18+
than TYPE_MAX_VALUE (type).
19+
20+
2025-02-24 Richard Biener <[email protected]>
21+
22+
PR tree-optimization/118973
23+
* tree-ssa-dce.cc (mark_stmt_if_obviously_necessary): Calls
24+
that alter control flow in unpredictable ways need to be
25+
preserved.
26+
27+
2025-02-24 Jakub Jelinek <[email protected]>
28+
29+
PR middle-end/118993
30+
* gimplify.cc (gimplify_scan_omp_clauses): Fix diagnostics typo,
31+
undfined -> undefined.
32+
33+
2025-02-24 Jakub Jelinek <[email protected]>
34+
35+
PR c/117023
36+
* builtin-attrs.def (ATTR_NONNULL_IF_NONZERO): New DEF_ATTR_IDENT.
37+
(ATTR_NOTHROW_NONNULL_IF12_LEAF, ATTR_NOTHROW_NONNULL_IF13_LEAF,
38+
ATTR_NOTHROW_NONNULL_IF123_LEAF, ATTR_NOTHROW_NONNULL_IF23_LEAF,
39+
ATTR_NOTHROW_NONNULL_1_IF23_LEAF, ATTR_PURE_NOTHROW_NONNULL_IF12_LEAF,
40+
ATTR_PURE_NOTHROW_NONNULL_IF13_LEAF,
41+
ATTR_PURE_NOTHROW_NONNULL_IF123_LEAF,
42+
ATTR_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF,
43+
ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF): New
44+
DEF_ATTR_TREE_LIST.
45+
* builtins.def (BUILT_IN_STRNDUP): Use
46+
ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF instead of
47+
ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_LEAF.
48+
(BUILT_IN_STRNCAT, BUILT_IN_STRNCAT_CHK): Use
49+
ATTR_NOTHROW_NONNULL_1_IF23_LEAF instead of ATTR_NOTHROW_NONNULL_LEAF.
50+
(BUILT_IN_BCOPY, BUILT_IN_MEMCPY, BUILT_IN_MEMCPY_CHK,
51+
BUILT_IN_MEMMOVE, BUILT_IN_MEMMOVE_CHK, BUILT_IN_STRNCPY,
52+
BUILT_IN_STRNCPY_CHK): Use ATTR_NOTHROW_NONNULL_IF123_LEAF instead of
53+
ATTR_NOTHROW_NONNULL_LEAF.
54+
(BUILT_IN_MEMPCPY, BUILT_IN_MEMPCPY_CHK, BUILT_IN_STPNCPY,
55+
BUILT_IN_STPNCPY_CHK): Use ATTR_NOTHROW_NONNULL_IF123_LEAF instead of
56+
ATTR_RETNONNULL_NOTHROW_LEAF.
57+
(BUILT_IN_BZERO, BUILT_IN_MEMSET, BUILT_IN_MEMSET_CHK): Use
58+
ATTR_NOTHROW_NONNULL_IF13_LEAF instead of ATTR_NOTHROW_NONNULL_LEAF.
59+
(BUILT_IN_BCMP, BUILT_IN_MEMCMP, BUILT_IN_STRNCASECMP,
60+
BUILT_IN_STRNCMP): Use ATTR_PURE_NOTHROW_NONNULL_IF123_LEAF instead of
61+
ATTR_PURE_NOTHROW_NONNULL_LEAF.
62+
(BUILT_IN_STRNLEN): Use ATTR_PURE_NOTHROW_NONNULL_IF12_LEAF instead of
63+
ATTR_PURE_NOTHROW_NONNULL_LEAF.
64+
(BUILT_IN_MEMCHR): Use ATTR_PURE_NOTHROW_NONNULL_IF13_LEAF instead of
65+
ATTR_PURE_NOTHROW_NONNULL_LEAF.
66+
67+
2025-02-24 Lino Hsing-Yu Peng <[email protected]>
68+
69+
* config/riscv/riscv.cc: Set multi push regs bits.
70+
171
2025-02-22 Thomas Schwinge <[email protected]>
272

373
* config/bpf/bpf.md (define_expand "allocate_stack"): Emit

gcc/DATESTAMP

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20250224
1+
20250225

gcc/analyzer/ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2025-02-24 Jakub Jelinek <[email protected]>
2+
3+
PR c/117023
4+
* sm-malloc.cc (malloc_state_machine::handle_nonnull): New private
5+
method.
6+
(malloc_state_machine::on_stmt): Use it for nonnull attribute arguments.
7+
Handle also nonnull_if_nonzero attributes.
8+
19
2025-02-19 David Malcolm <[email protected]>
210

311
PR analyzer/118300

gcc/testsuite/ChangeLog

+70
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,73 @@
1+
2025-02-24 Robin Dapp <[email protected]>
2+
3+
PR target/114516
4+
* gcc.dg/vect/costmodel/riscv/rvv/pr114516.c: New test.
5+
6+
2025-02-24 Robin Dapp <[email protected]>
7+
8+
PR middle-end/118950
9+
* gcc.target/riscv/rvv/autovec/pr118950.c: New test.
10+
11+
2025-02-24 Jakub Jelinek <[email protected]>
12+
13+
PR tree-optimization/118915
14+
* gcc.c-torture/execute/pr118915.c: New test.
15+
16+
2025-02-24 Richard Biener <[email protected]>
17+
18+
PR tree-optimization/118973
19+
* g++.dg/torture/pr118973.C: New testcase.
20+
21+
2025-02-24 Jakub Jelinek <[email protected]>
22+
23+
PR middle-end/118993
24+
* c-c++-common/gomp/allocate-18.c: Adjust dg-warning regex for
25+
diagnostics typo fix.
26+
* gfortran.dg/gomp/allocate-clause.f90: Likewise.
27+
28+
2025-02-24 Jakub Jelinek <[email protected]>
29+
30+
PR c/117023
31+
* gcc.dg/builtins-nonnull.c (test_memfuncs, test_memfuncs_chk,
32+
test_strfuncs, test_strfuncs_chk): Add if (n == 0) return; at the
33+
start of the functions.
34+
* gcc.dg/Wnonnull-2.c: Copy __builtin_* call statements where
35+
appropriate 3 times, once with 0 length, once with n and once with
36+
non-zero constant and expect warning only in the third case.
37+
Formatting fixes.
38+
* gcc.dg/Wnonnull-3.c: Copy __builtin_* call statements where
39+
appropriate 3 times, once with 0 length, once with n and once with
40+
n guarded with n != 0 and expect warning only in the third case.
41+
Formatting fixes.
42+
* gcc.dg/nonnull-3.c (foo): Use 16 instead of 0 in the calls added
43+
for PR80936.
44+
* gcc.dg/nonnull-11.c: New test.
45+
* c-c++-common/ubsan/nonnull-1.c: Don't expect runtime diagnostics
46+
for the __builtin_memcpy call.
47+
* gcc.dg/tree-ssa/pr78154.c (f): Add dn argument and return early
48+
if it is NULL. Duplicate cases of builtins which have the first
49+
argument changed from nonnull to nonnull_if_nonzero except stpncpy,
50+
once with dn as first argument instead of d and once with constant
51+
non-zero count rather than n. Disable the stpncpy non-null check.
52+
* gcc.dg/Wbuiltin-declaration-mismatch-14.c (test_builtin_calls):
53+
Triplicate the strncmp calls, once with 1 last argument and expect
54+
warning, once with n last argument and don't expect warning and
55+
once with 0 last argument and don't expect warning.
56+
* gcc.dg/Wbuiltin-declaration-mismatch-15.c (test_builtin_calls_fe):
57+
Likewise.
58+
59+
2025-02-24 Jakub Jelinek <[email protected]>
60+
61+
PR c/117023
62+
* c-c++-common/analyzer/call-summaries-malloc.c
63+
(test_use_without_check): Pass 4 rather than sz to memset.
64+
* c-c++-common/analyzer/strncpy-1.c (test_null_dst,
65+
test_null_src): Pass 42 rather than count to strncpy.
66+
67+
2025-02-24 Lino Hsing-Yu Peng <[email protected]>
68+
69+
* gcc.target/riscv/zcmp_push_gpr.c: New test.
70+
171
2025-02-23 H.J. Lu <[email protected]>
272

373
PR tree-optimization/82142

0 commit comments

Comments
 (0)