]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Improve comments about GCC bugs.
authorBruno Haible <bruno@clisp.org>
Fri, 1 May 2026 20:35:13 +0000 (22:35 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 1 May 2026 20:35:13 +0000 (22:35 +0200)
* m4/nullptr.m4 (gl_NULLPTR): Add info about gcc bug 114780.
* modules/uniname/uniname (Makefile.am): Add info about gcc bug 110112.
* tests/test-intprops.c: Correct info about gcc bug 68971.

ChangeLog
m4/nullptr.m4
modules/uniname/uniname
tests/test-intprops.c

index d5474423b6f3a2c34182e124e71485db4e50d391..9841cc99fd2b03c76b87cadcd6e7b353cb768d44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-05-01  Bruno Haible  <bruno@clisp.org>
+
+       Improve comments about GCC bugs.
+       * m4/nullptr.m4 (gl_NULLPTR): Add info about gcc bug 114780.
+       * modules/uniname/uniname (Makefile.am): Add info about gcc bug 110112.
+       * tests/test-intprops.c: Correct info about gcc bug 68971.
+
 2026-05-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        manywarnings: GCC 16 changes
index 7c0e4010221b5cd1eb619b7d902d870d43a98abc..a8692a8505a9d14684588e215a553e5aa60489dd 100644 (file)
@@ -1,5 +1,5 @@
 # nullptr.m4
-# serial 2
+# serial 3
 dnl Copyright 2023-2026 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -16,7 +16,8 @@ AC_DEFUN([gl_NULLPTR],
        [AC_COMPILE_IFELSE(
           [AC_LANG_SOURCE([[int *p = nullptr;]])],
           [gl_cv_c_nullptr=yes
-           # Work around <https://gcc.gnu.org/PR114780>.
+           # Work around <https://gcc.gnu.org/PR114780>,
+           # that affects gcc 13.1 to 13.2.
            gl_saved_CFLAGS=$CFLAGS
            CFLAGS="$CFLAGS -Wall -Werror"
            AC_COMPILE_IFELSE(
index 4ef4e7f8f9ae1c01eb810a787e6f0118141559c0..bf8183f0dabe47daf5d3550f1f6d4528745da6f3 100644 (file)
@@ -20,8 +20,8 @@ gl_LIBUNISTRING_MODULE([1.4], [uniname/uniname])
 
 Makefile.am:
 if LIBUNISTRING_COMPILE_UNINAME_UNINAME
-# Note: Compilation of this file takes a long time with gcc ≥ 11 and option
-# -fanalyzer. See <https://gcc.gnu.org/PR110112>.
+# Note: Compilation of this file takes a long time with gcc ≥ 11, ≤ 13.2 and
+# option -fanalyzer. See <https://gcc.gnu.org/PR110112>.
 # The best workaround is to install GNU libunistring first, and use module
 # 'libunistring-optional' in your package.
 # An alternative workaround would be to pass the option -fno-analyzer, using
index 8cbc8f9c135f2233d635879a2ab267efa0ce50e1..e3bdecd26c48d2eaea1d32ad86c7e9ea9fdcc13f 100644 (file)
@@ -25,7 +25,7 @@
 # pragma GCC diagnostic ignored "-Woverlength-strings"
 # pragma GCC diagnostic ignored "-Wtype-limits"
 
-/* Work around a bug in GCC 6.1 and earlier; see:
+/* Work around a bug in GCC 5 and newer; see:
    https://gcc.gnu.org/PR68971  */
 # pragma GCC diagnostic ignored "-Woverflow"