bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 25/27] manywarnings: improve -fanalyzer malloc checking


From: Paul Eggert
Subject: [PATCH 25/27] manywarnings: improve -fanalyzer malloc checking
Date: Sun, 1 Aug 2021 18:18:19 -0700

---
 ChangeLog          | 1 +
 m4/manywarnings.m4 | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 577d3077e..f72226809 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,7 @@
        theoretical platforms.
        * lib/vasnprintf.c, tests/test-argmatch.c:
        Disable -Wanalyzer-null-argument here.
+       * m4/manywarnings.m4: Update GCC bug report number in comment.
 
 2021-08-01  Jim Meyering  <meyering@fb.com>
 
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index 53ab15340..611484f31 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -1,4 +1,4 @@
-# manywarnings.m4 serial 21
+# manywarnings.m4 serial 22
 dnl Copyright (C) 2008-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -198,7 +198,7 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
   # Some warnings have too many false alarms in GCC 10.1.
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695
   gl_AS_VAR_APPEND([$1], [' -Wno-analyzer-double-free'])
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94458
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101713  (GCC 11.2.1)
   gl_AS_VAR_APPEND([$1], [' -Wno-analyzer-malloc-leak'])
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851
   gl_AS_VAR_APPEND([$1], [' -Wno-analyzer-null-dereference'])
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]