* lib/malloca.c (mmalloca): Redo to pacify GCC, to cut down on the
number of casts, and to avoid signed integer overflow on
theoretical platforms.
- * lib/vasnprintf.c:
+ * lib/vasnprintf.c, tests/test-argmatch.c:
Disable -Wanalyzer-null-argument here.
2021-08-01 Jim Meyering <meyering@fb.com>
#include <config.h>
+/* As of GCC 11.2.1, gcc -Wanalyzer-too-complex reports that main's
+ use of CHECK macros expands to code that is too complicated for gcc
+ -fanalyzer. Suppress the resulting bogus warnings. */
+#if 10 <= __GNUC__
+# pragma GCC diagnostic ignored "-Wanalyzer-null-argument"
+#endif
+
#include "argmatch.h"
#include <stdlib.h>