]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: document fix for GCC bug 109628
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Feb 2024 05:40:20 +0000 (21:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Feb 2024 08:29:59 +0000 (00:29 -0800)
* src/fmt.c [14 <= __GNUC__]: Stop using pragma workaround,
as the GCC folks say the bug is no longer present in GCC 14.

src/fmt.c

index 86e6d0b2f5ecde806ae03b72a3b8e4d0b9d9bd1c..73ef64ee4022762c764c74b94cb4eb33b8efc066 100644 (file)
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -910,7 +910,7 @@ fmt_paragraph (void)
 }
 
 /* Work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109628>.  */
-#if 13 <= __GNUC__
+#if __GNUC__ == 13
 # pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
 #endif