aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2025-03-08 00:17:25 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2025-03-08 00:17:25 +0000
commite8c2f3a427a96a8626f005d4b38492b5d0a96c03 (patch)
treec033829374fb5207fb44e9a243c73ac6e85280ae /gcc/c
parentab714e60870d1bb98039652b760918b5e680ac10 (diff)
downloadgcc-e8c2f3a427a96a8626f005d4b38492b5d0a96c03.zip
gcc-e8c2f3a427a96a8626f005d4b38492b5d0a96c03.tar.gz
gcc-e8c2f3a427a96a8626f005d4b38492b5d0a96c03.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index adaabd5..8a1b3bd 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,24 @@
+2025-03-07 Kees Cook <kees@kernel.org>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR c/117178
+ * c-typeck.cc (digest_init): Add DECL argument. Adjust wording of
+ pedwarn_init for too long strings and provide details on the lengths,
+ for string literals where just the trailing NULL doesn't fit warn for
+ warn_cxx_compat with OPT_Wc___compat, wording which mentions "for C++"
+ and provides details on lengths, otherwise for
+ warn_unterminated_string_initialization adjust the warning, provide
+ details on lengths and don't warn if get_attr_nonstring_decl (decl).
+ (build_c_cast, store_init_value, output_init_element): Adjust
+ digest_init callers.
+
+2025-03-07 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR c/60440
+ * c-typeck.cc (c_finish_return): Mark the current function
+ for supression of the -Wreturn-type if there was an error
+ on the return statement.
+
2025-02-26 Jakub Jelinek <jakub@redhat.com>
PR c/119001