* lib/diffseq.h: Also suppress -Wanalyzer-use-of-uninitialized-value.
This fixes an unwanted diagnostic when compiling GNU ‘patch’
with gcc (GCC) 14.2.1
20240801 (Red Hat 14.2.1-1) x86-64.
+2024-08-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ diffseq: port to GCC 14.2.1 in ‘patch’
+ * lib/diffseq.h: Also suppress -Wanalyzer-use-of-uninitialized-value.
+ This fixes an unwanted diagnostic when compiling GNU ‘patch’
+ with gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1) x86-64.
+
2024-08-21 Paul Eggert <eggert@cs.ucla.edu>
mcel: port to uClibc-ng
#endif
/* Suppress gcc's "...may be used before initialized" warnings,
- generated by GCC versions up to at least GCC 13.2. */
-#if __GNUC__ + (__GNUC_MINOR__ >= 7) > 4
+ generated by GCC versions up to at least GCC 14.2.
+ Likewise for gcc -fanalyzer's "use of uninitialized value" warnings. */
+#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+# if 13 <= __GNUC__
+# pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
+# endif
#endif
/*