+2025-02-24 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR target/114516
+ * config/riscv/riscv-vector-costs.cc (compute_estimated_lmul):
+ Add pattern statements to program points.
+
+2025-02-24 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR middle-end/118950
+ * tree-vect-patterns.cc (vect_recog_gather_scatter_pattern): Use
+ original LHS's type.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118915
+ * tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): For
+ highj == NULL_TREE use TYPE_MAX_VALUE (TREE_TYPE (lowj)) rather
+ than TYPE_MAX_VALUE (type).
+
+2025-02-24 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/118973
+ * tree-ssa-dce.cc (mark_stmt_if_obviously_necessary): Calls
+ that alter control flow in unpredictable ways need to be
+ preserved.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/118993
+ * gimplify.cc (gimplify_scan_omp_clauses): Fix diagnostics typo,
+ undfined -> undefined.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/117023
+ * builtin-attrs.def (ATTR_NONNULL_IF_NONZERO): New DEF_ATTR_IDENT.
+ (ATTR_NOTHROW_NONNULL_IF12_LEAF, ATTR_NOTHROW_NONNULL_IF13_LEAF,
+ ATTR_NOTHROW_NONNULL_IF123_LEAF, ATTR_NOTHROW_NONNULL_IF23_LEAF,
+ ATTR_NOTHROW_NONNULL_1_IF23_LEAF, ATTR_PURE_NOTHROW_NONNULL_IF12_LEAF,
+ ATTR_PURE_NOTHROW_NONNULL_IF13_LEAF,
+ ATTR_PURE_NOTHROW_NONNULL_IF123_LEAF,
+ ATTR_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF,
+ ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF): New
+ DEF_ATTR_TREE_LIST.
+ * builtins.def (BUILT_IN_STRNDUP): Use
+ ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_IF12_LEAF instead of
+ ATTR_MALLOC_WARN_UNUSED_RESULT_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_STRNCAT, BUILT_IN_STRNCAT_CHK): Use
+ ATTR_NOTHROW_NONNULL_1_IF23_LEAF instead of ATTR_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_BCOPY, BUILT_IN_MEMCPY, BUILT_IN_MEMCPY_CHK,
+ BUILT_IN_MEMMOVE, BUILT_IN_MEMMOVE_CHK, BUILT_IN_STRNCPY,
+ BUILT_IN_STRNCPY_CHK): Use ATTR_NOTHROW_NONNULL_IF123_LEAF instead of
+ ATTR_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_MEMPCPY, BUILT_IN_MEMPCPY_CHK, BUILT_IN_STPNCPY,
+ BUILT_IN_STPNCPY_CHK): Use ATTR_NOTHROW_NONNULL_IF123_LEAF instead of
+ ATTR_RETNONNULL_NOTHROW_LEAF.
+ (BUILT_IN_BZERO, BUILT_IN_MEMSET, BUILT_IN_MEMSET_CHK): Use
+ ATTR_NOTHROW_NONNULL_IF13_LEAF instead of ATTR_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_BCMP, BUILT_IN_MEMCMP, BUILT_IN_STRNCASECMP,
+ BUILT_IN_STRNCMP): Use ATTR_PURE_NOTHROW_NONNULL_IF123_LEAF instead of
+ ATTR_PURE_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_STRNLEN): Use ATTR_PURE_NOTHROW_NONNULL_IF12_LEAF instead of
+ ATTR_PURE_NOTHROW_NONNULL_LEAF.
+ (BUILT_IN_MEMCHR): Use ATTR_PURE_NOTHROW_NONNULL_IF13_LEAF instead of
+ ATTR_PURE_NOTHROW_NONNULL_LEAF.
+
+2025-02-24 Lino Hsing-Yu Peng <linopeng@andestech.com>
+
+ * config/riscv/riscv.cc: Set multi push regs bits.
+
2025-02-22 Thomas Schwinge <tschwinge@baylibre.com>
* config/bpf/bpf.md (define_expand "allocate_stack"): Emit
+2025-02-24 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR target/114516
+ * gcc.dg/vect/costmodel/riscv/rvv/pr114516.c: New test.
+
+2025-02-24 Robin Dapp <rdapp@ventanamicro.com>
+
+ PR middle-end/118950
+ * gcc.target/riscv/rvv/autovec/pr118950.c: New test.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118915
+ * gcc.c-torture/execute/pr118915.c: New test.
+
+2025-02-24 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/118973
+ * g++.dg/torture/pr118973.C: New testcase.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/118993
+ * c-c++-common/gomp/allocate-18.c: Adjust dg-warning regex for
+ diagnostics typo fix.
+ * gfortran.dg/gomp/allocate-clause.f90: Likewise.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/117023
+ * gcc.dg/builtins-nonnull.c (test_memfuncs, test_memfuncs_chk,
+ test_strfuncs, test_strfuncs_chk): Add if (n == 0) return; at the
+ start of the functions.
+ * gcc.dg/Wnonnull-2.c: Copy __builtin_* call statements where
+ appropriate 3 times, once with 0 length, once with n and once with
+ non-zero constant and expect warning only in the third case.
+ Formatting fixes.
+ * gcc.dg/Wnonnull-3.c: Copy __builtin_* call statements where
+ appropriate 3 times, once with 0 length, once with n and once with
+ n guarded with n != 0 and expect warning only in the third case.
+ Formatting fixes.
+ * gcc.dg/nonnull-3.c (foo): Use 16 instead of 0 in the calls added
+ for PR80936.
+ * gcc.dg/nonnull-11.c: New test.
+ * c-c++-common/ubsan/nonnull-1.c: Don't expect runtime diagnostics
+ for the __builtin_memcpy call.
+ * gcc.dg/tree-ssa/pr78154.c (f): Add dn argument and return early
+ if it is NULL. Duplicate cases of builtins which have the first
+ argument changed from nonnull to nonnull_if_nonzero except stpncpy,
+ once with dn as first argument instead of d and once with constant
+ non-zero count rather than n. Disable the stpncpy non-null check.
+ * gcc.dg/Wbuiltin-declaration-mismatch-14.c (test_builtin_calls):
+ Triplicate the strncmp calls, once with 1 last argument and expect
+ warning, once with n last argument and don't expect warning and
+ once with 0 last argument and don't expect warning.
+ * gcc.dg/Wbuiltin-declaration-mismatch-15.c (test_builtin_calls_fe):
+ Likewise.
+
+2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/117023
+ * c-c++-common/analyzer/call-summaries-malloc.c
+ (test_use_without_check): Pass 4 rather than sz to memset.
+ * c-c++-common/analyzer/strncpy-1.c (test_null_dst,
+ test_null_src): Pass 42 rather than count to strncpy.
+
+2025-02-24 Lino Hsing-Yu Peng <linopeng@andestech.com>
+
+ * gcc.target/riscv/zcmp_push_gpr.c: New test.
+
2025-02-23 H.J. Lu <hjl.tools@gmail.com>
PR tree-optimization/82142