]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Shorten GCC bug URLs
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Aug 2025 17:25:13 +0000 (10:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Aug 2025 17:28:08 +0000 (10:28 -0700)
33 files changed:
build-aux/gcc-warning.spec
doc/posix-headers/stddef.texi
lib/alignalloc.h
lib/c++defs.h
lib/careadlinkat.c
lib/float.in.h
lib/free.c
lib/intprops-internal.h
lib/realloc.c
lib/savedir.c
lib/signed-nan.h
lib/stddef.in.h
lib/strftime.c
lib/string.in.h
lib/totalorder.c
lib/totalorderf.c
lib/totalordermag.c
lib/totalordermagf.c
lib/wchar.in.h
m4/btowc.m4
m4/extern-inline.m4
m4/gnulib-common.m4
m4/manywarnings.m4
m4/nullptr.m4
m4/stdalign.m4
m4/stddef_h.m4
m4/wchar_h.m4
modules/uniname/uniname
tests/test-canonicalize-lgpl.c
tests/test-canonicalize.c
tests/test-intprops.c
tests/test-ptsname_r.c
tests/test-sprintf-posix.h

index e147f491492aac35171dea56d0a10a62a07f350e..926895883ab07617bb17f36721c1a2fc54e6a606 100644 (file)
 -Wstringop-overread                    default
 -Wstringop-truncation                  default
 -Wsubobject-linkage                    c++ and objc++
--Wsuggest-attribute=returns_nonnull    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114833
+-Wsuggest-attribute=returns_nonnull    https://gcc.gnu.org/PR114833
 -Wsuggest-override                     c++ and objc++
 -Wsurprising                           fortran
 -Wswitch                               enabled by -Wall
index 7f7af3bdef063ef124c90ddefb5940120febfd9f..74516edba91b30998d6cb5d1a16870135143f6fd 100644 (file)
@@ -46,7 +46,7 @@ GCC 12, Clang 15, and other pre-2023 C compilers.
 @item
 Some platforms define @code{nullptr_t} even when @code{<stddef.h>} is
 not included:
-@c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869
+@c https://gcc.gnu.org/PR114869
 GCC 14
 
 @item
index 2cd405075340589639a1fab8872d0d4fe3d9a532..15974b5cbb063a7c634a0de391fbdd509319ea22 100644 (file)
@@ -53,7 +53,7 @@ extern "C" {
 #endif
 
 /* Work around AddressSanitizer bug.
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104262
+   https://gcc.gnu.org/PR104262
    https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20220124/1001910.html
    */
 #ifdef __SANITIZE_ADDRESS__
index df98a5ae57c4604d834cca3941a403274955f216..b77979a3259ad8d4d4faf090b66ad45ab0f4d4cf 100644 (file)
    _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE)
 # define _GL_CXXALIASWARN_1(func,namespace) \
    _GL_CXXALIASWARN_2 (func, namespace)
-/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
+/* To work around GCC bug <https://gcc.gnu.org/PR43881>,
    we enable the warning only when not optimizing.  */
 # if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__)
 #  define _GL_CXXALIASWARN_2(func,namespace) \
                         GNULIB_NAMESPACE)
 # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \
    _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace)
-/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
+/* To work around GCC bug <https://gcc.gnu.org/PR43881>,
    we enable the warning only when not optimizing.  */
 # if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__)
 #  define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
index 9ec3ca3322412ee703a6a52b1b8e39632907d024..8f4a3c1a70f13858574cb9d204abd39b5118a28d 100644 (file)
@@ -45,7 +45,7 @@ enum { STACK_BUF_SIZE = 1024 };
    If GCC_LINT is defined, do not inline this function with GCC 10.1
    and later, to avoid creating a pointer to the stack that GCC
    -Wreturn-local-addr incorrectly complains about.  See:
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644
+   https://gcc.gnu.org/PR93644
    Although the noinline attribute can hurt performance a bit, no better way
    to pacify GCC is known; even an explicit #pragma does not pacify GCC.
    When the GCC bug is fixed this workaround should be limited to the
@@ -174,7 +174,7 @@ careadlinkat (int fd, char const *filename,
      shrinking realloc.  */
   #ifdef GCC_BOGUS_WRETURN_LOCAL_ADDR
    #warning "GCC might issue a bogus -Wreturn-local-addr warning here."
-   #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>."
+   #warning "See <https://gcc.gnu.org/PR93644>."
   #endif
   char stack_buf[STACK_BUF_SIZE];
   return readlink_stk (fd, filename, buffer, buffer_size, alloc,
index ab7ea6d56176cd5df1c30de14a7cdd23be4bc8da..3093f9a01d2abd75dbc0a66a55023b2a8764cf12 100644 (file)
@@ -135,7 +135,7 @@ extern const union gl_long_double_union gl_LDBL_MAX;
    which represents 0x1.fffffffffffff7ffffffffffff8p+1023L.
    Although computations can yield representations of numbers larger than this,
    these computations are considered to have overflowed and behavior is undefined.
-   See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120993>.  */
+   See <https://gcc.gnu.org/PR120993>.  */
 # undef LDBL_MAX
 # define LDBL_MAX 0x1.fffffffffffff7ffffffffffff8p+1023L
 
@@ -234,7 +234,7 @@ extern const union gl_long_double_union gl_LDBL_TRUE_MIN;
 # define FLT_NORM_MAX FLT_MAX
 #endif
 #ifndef FLT_SNAN
-/* For sh, beware of <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111814>.  */
+/* For sh, beware of <https://gcc.gnu.org/PR111814>.  */
 # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__
 #  define FLT_SNAN __builtin_nansf ("")
 # else
@@ -258,7 +258,7 @@ extern gl_FLT_SNAN_t gl_FLT_SNAN;
 # define DBL_NORM_MAX DBL_MAX
 #endif
 #ifndef DBL_SNAN
-/* For sh, beware of <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111814>.  */
+/* For sh, beware of <https://gcc.gnu.org/PR111814>.  */
 # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__
 #  define DBL_SNAN __builtin_nans ("")
 # else
@@ -290,7 +290,7 @@ extern gl_DBL_SNAN_t gl_DBL_SNAN;
 # endif
 #endif
 #ifndef LDBL_SNAN
-/* For sh, beware of <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111814>.  */
+/* For sh, beware of <https://gcc.gnu.org/PR111814>.  */
 # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__
 #  define LDBL_SNAN __builtin_nansl ("")
 # else
index 98ceafd7da26126039b1f8eb350f73b43c6b6187..394d8d139058f0220602c31bbb052bc587a12208 100644 (file)
@@ -33,7 +33,7 @@ rpl_free (void *p)
 {
 # if defined __GNUC__ && !defined __clang__
   /* An invalid GCC optimization
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98396>
+     <https://gcc.gnu.org/PR98396>
      would optimize away the assignments in the code below, when link-time
      optimization (LTO) is enabled.  Make the code more complicated, so that
      GCC does not grok how to optimize it.  */
index 62de3c889ece80cab1e25bc8c88afb6541bb749b..ab1a94f86df30245ef788fa4eadce21f743cfd24 100644 (file)
 #elif defined __has_builtin
 # define _GL_HAS_BUILTIN_ADD_OVERFLOW __has_builtin (__builtin_add_overflow)
 /* __builtin_{add,sub}_overflow exists but is not reliable in GCC 5.x and 6.x,
-   see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269>.  */
+   see <https://gcc.gnu.org/PR98269>.  */
 #elif 7 <= __GNUC__
 # define _GL_HAS_BUILTIN_ADD_OVERFLOW 1
 #else
 #endif
 
 /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390.  See:
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
+   https://gcc.gnu.org/PR68193
    https://llvm.org/bugs/show_bug.cgi?id=25390
    For now, assume GCC < 14 and all Clang versions generate bogus
    warnings for _Generic.  This matters only for compilers that
index 42375010975581b919ce6228b6c0df728b857cc2..62efd5a39ff1213b5924be6cc336874b9a7a54a5 100644 (file)
@@ -50,7 +50,7 @@ rpl_realloc (void *p, size_t n)
          undefined behavior even though C17 and earlier partially defined
          the behavior.  Let the programmer know.
          When the undefined-behaviour sanitizers report this case, i.e. when
-         <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117233> and
+         <https://gcc.gnu.org/PR117233> and
          <https://github.com/llvm/llvm-project/issues/113065>
          have been closed and new releases of GCC and clang have been made,
          we can revisit this code.  */
index 40e3b8cebcea64da76b9ca99e76c0158eb3e5f32..2e4f6f9a7c17b93fb2775327a0d3d63515fc4bec 100644 (file)
@@ -41,7 +41,7 @@
 #include "attribute.h"
 #include "xalloc.h"
 
-/* Pacify GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113963>.  */
+/* Pacify GCC bug <https://gcc.gnu.org/PR113963>.  */
 #if _GL_GNUC_PREREQ (13, 0)
 # pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak"
 # pragma GCC diagnostic ignored "-Wanalyzer-null-dereference"
index fcc12d34cf0a27a108812eadbf1c4c5c1434d0ec..41360db556782fa291c27edc158669deab048c00 100644 (file)
@@ -53,7 +53,7 @@ _GL_UNUSED static float
 positive_NaNf ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   float volatile nan = NaNf ();
   return (signbit (nan) ? minus_NaNf (nan) : nan);
 }
@@ -63,7 +63,7 @@ _GL_UNUSED static float
 negative_NaNf ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   float volatile nan = NaNf ();
   return (signbit (nan) ? nan : minus_NaNf (nan));
 }
@@ -91,7 +91,7 @@ _GL_UNUSED static double
 positive_NaNd ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   double volatile nan = NaNd ();
   return (signbit (nan) ? minus_NaNd (nan) : nan);
 }
@@ -101,7 +101,7 @@ _GL_UNUSED static double
 negative_NaNd ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   double volatile nan = NaNd ();
   return (signbit (nan) ? nan : minus_NaNd (nan));
 }
@@ -120,7 +120,7 @@ _GL_UNUSED static long double
 positive_NaNl ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   long double volatile nan = NaNl ();
   return (signbit (nan) ? minus_NaNl (nan) : nan);
 }
@@ -130,7 +130,7 @@ _GL_UNUSED static long double
 negative_NaNl ()
 {
   /* 'volatile' works around a GCC bug:
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111655>  */
+     <https://gcc.gnu.org/PR111655>  */
   long double volatile nan = NaNl ();
   return (signbit (nan) ? nan : minus_NaNl (nan));
 }
index e8c55ff1cdc4a3a1b8bb460517952c606307e846..9ad768d785b2414bf95874e12db7edefe91a532a 100644 (file)
@@ -32,7 +32,7 @@
      || defined __need_wint_t)                                      \
     /* Avoid warning triggered by "gcc -std=gnu23 -Wsystem-headers" \
        in GCC 13.3 and 14.2                                         \
-       <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870>.  */   \
+       <https://gcc.gnu.org/PR114870>.  */   \
     && !@STDDEF_NOT_IDEMPOTENT@
 /* Special invocation convention inside gcc header files.  In
    particular, <stddef.h> in some ancient versions of GCC blindly
@@ -91,7 +91,7 @@ typedef long max_align_t;
 
 #  if !defined _GCC_NULLPTR_T && !@NULLPTR_T_NEEDS_STDDEF@
     /* Suppress unwanted nullptr_t typedef.  See
-       <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869>.  */
+       <https://gcc.gnu.org/PR114869>.  */
 #   define _GCC_NULLPTR_T
 #  endif
 
index 537172d8be654ca4b34c1aa88a237664f138747b..27e2ca0976a973333fac42dcc8f11467967bfbf9 100644 (file)
@@ -355,7 +355,7 @@ enum pad_style
 /* Avoid false GCC warning "'memset' specified size 18446744073709551615 exceeds
    maximum object size 9223372036854775807", caused by insufficient data flow
    analysis and value propagation of the 'width_add' expansion when GCC is not
-   optimizing.  Cf. <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443>.  */
+   optimizing.  Cf. <https://gcc.gnu.org/PR88443>.  */
 #if _GL_GNUC_PREREQ (7, 0) && !__OPTIMIZE__
 # pragma GCC diagnostic ignored "-Wstringop-overflow"
 #endif
index 9a039c7ba069f0712dbd20f304f05f8042df4994..4333055993570025e669ab1e6713ce09b2383c50 100644 (file)
@@ -96,7 +96,7 @@
 /* Applies to: functions.  Cannot be used on inline functions.  */
 #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
 # if defined __cplusplus && defined __GNUC__ && !defined __clang__
-/* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */
+/* Work around GCC bug <https://gcc.gnu.org/PR108231> */
 #  define _GL_ATTRIBUTE_DEALLOC_FREE \
      _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
 # else
index 5824da836fb5e9194a604265afba3c4a8542fb50..0da878d54a452f4d104dacca76988a0176340793 100644 (file)
@@ -60,7 +60,7 @@ totalorder (double const *x, double const *y)
 # if defined __GNUC__ || defined __clang__
   /* Prevent gcc and clang from reusing the values of *x and *y (fetched above)
      in optimized inlined memcpy expansions.
-     Seen with gcc <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114659>
+     Seen with gcc <https://gcc.gnu.org/PR114659>
      and with clang 16.0.6 on OpenBSD 7.5.  */
   __asm__ __volatile__ ("" : : : "memory");
 # endif
index 88c8580f9d44e07c1db4c59a26f0ed8f73a1c9d1..ae4a2b3c98b5dfa46ce400597f9c1cf6e4471509 100644 (file)
@@ -60,7 +60,7 @@ totalorderf (float const *x, float const *y)
 # if defined __GNUC__ || defined __clang__
   /* Prevent gcc and clang from reusing the values of *x and *y (fetched above)
      in optimized inlined memcpy expansions.
-     Seen with gcc <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114659>
+     Seen with gcc <https://gcc.gnu.org/PR114659>
      and with clang 16.0.6 on OpenBSD 7.5.  */
   __asm__ __volatile__ ("" : : : "memory");
 # endif
index 3893ccf94d424e6824c617b402ea18e682c4d5c6..68f5becec2e5945d7286a999ce3c451b9d284b3b 100644 (file)
@@ -60,7 +60,7 @@ totalordermag (double const *x, double const *y)
 #  if defined __GNUC__ || defined __clang__
   /* Prevent gcc and clang from reusing the values of *x and *y (fetched above)
      in optimized inlined memcpy expansions.
-     Seen with gcc <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114659>
+     Seen with gcc <https://gcc.gnu.org/PR114659>
      and with clang 16.0.6 on OpenBSD 7.5.  */
   __asm__ __volatile__ ("" : : : "memory");
 #  endif
index b6879e2d27f0b45a044890d835cd0b74e608bd21..9fec2cf7fc3cd56ed5b976e6b23e4a7615d399ed 100644 (file)
@@ -60,7 +60,7 @@ totalordermagf (float const *x, float const *y)
 #  if defined __GNUC__ || defined __clang__
   /* Prevent gcc and clang from reusing the values of *x and *y (fetched above)
      in optimized inlined memcpy expansions.
-     Seen with gcc <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114659>
+     Seen with gcc <https://gcc.gnu.org/PR114659>
      and with clang 16.0.6 on OpenBSD 7.5.  */
   __asm__ __volatile__ ("" : : : "memory");
 #  endif
index a6c52eb9c6116e1183c816a14525797c127ea26e..23d8b3c5bf6f94cd6d1efeee7a86cc398836d760 100644 (file)
 /* Applies to: functions.  Cannot be used on inline functions.  */
 #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
 # if defined __cplusplus && defined __GNUC__ && !defined __clang__
-/* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */
+/* Work around GCC bug <https://gcc.gnu.org/PR108231> */
 #  define _GL_ATTRIBUTE_DEALLOC_FREE \
      _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
 # else
index 59d52be6f6971a0e381b0281c3eca22edaabb434..fd18db753e40ff42a5ca538d0ab36a55e2414fdf 100644 (file)
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_BTOWC],
 
   dnl Check whether <wchar.h> is usable at all, first. Otherwise the test
   dnl program below may lead to an endless loop. See
-  dnl <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>.
+  dnl <https://gcc.gnu.org/PR42440>.
   AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
 
   AC_CHECK_FUNCS_ONCE([btowc])
index d4fe6d82a5d4e141b01335106a2b080f35644385..0ebcba3475782fe3513a3aaaaea664d4d6335a6d 100644 (file)
@@ -112,8 +112,8 @@ AC_DEFUN([gl_EXTERN_INLINE],
    suppress bogus "no previous prototype for 'FOO'"
    and "no previous declaration for 'FOO'" diagnostics,
    when FOO is an inline function in the header; see
-   <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
-   <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>.  */
+   <https://gcc.gnu.org/PR54113> and
+   <https://gcc.gnu.org/PR63877>.  */
 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
 #  define _GL_INLINE_HEADER_CONST_PRAGMA
index 034dae69e68e9887fb87ed9947faa2f7bedd6f3a..134bfba21d06e71d9561345266fdbba5da6e7272 100644 (file)
@@ -168,7 +168,7 @@ AC_DEFUN([gl_COMMON_BODY], [
       ======================================================================
       This gives a syntax error
         - in C mode with gcc
-          <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796>, and
+          <https://gcc.gnu.org/PR108796>, and
         - in C++ mode with clang++ version < 16, and
         - in C++ mode, inside extern "C" {}, still in newer clang++ versions
           <https://github.com/llvm/llvm-project/issues/101990>.
@@ -451,7 +451,7 @@ AC_DEFUN([gl_COMMON_BODY], [
    yet.  */
 #ifndef _GL_ATTRIBUTE_DEALLOC_FREE
 # if defined __cplusplus && defined __GNUC__ && !defined __clang__
-/* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */
+/* Work around GCC bug <https://gcc.gnu.org/PR108231> */
 #  define _GL_ATTRIBUTE_DEALLOC_FREE \
      _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
 # else
index eebba901806648504ddf3fd2ac79bac481c5b441..bb5b4e10cd9f87a52c7056057bd84d3beb03454d 100644 (file)
@@ -198,7 +198,7 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
   fi
 
   # This warning have too many false alarms in GCC 11.2.1.
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101713
+  # https://gcc.gnu.org/PR101713
   AS_VAR_APPEND([$1], [' -Wno-analyzer-malloc-leak'])
 
   AC_LANG_POP([C])
index aa457ed2b62cb7a152ee87617155dabaf3f9f296..2c0bdde8aa18e20cc5d6f5c933dec7f506918172 100644 (file)
@@ -16,7 +16,7 @@ AC_DEFUN([gl_NULLPTR],
        [AC_COMPILE_IFELSE(
           [AC_LANG_SOURCE([[int *p = nullptr;]])],
           [gl_cv_c_nullptr=yes
-           # Work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114780>.
+           # Work around <https://gcc.gnu.org/PR114780>.
            gl_saved_CFLAGS=$CFLAGS
            CFLAGS="$CFLAGS -Wall -Werror"
            AC_COMPILE_IFELSE(
index 885feafdd8b16982e5677a432ad095b4d94c0839..d22360e107501e7828eff63fd2fb04ca37b18fda 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN([gl_ALIGNASOF],
 
             /* Test that alignof yields a result consistent with offsetof.
                This catches GCC bug 52023
-               <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.  */
+               <https://gcc.gnu.org/PR52023>.  */
             #ifdef __cplusplus
                template <class t> struct alignof_helper { char a; t b; };
             # define ao(type) offsetof (alignof_helper<type>, b)
@@ -103,7 +103,7 @@ AC_DEFUN([gl_ALIGNASOF],
    want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc.  */
 
 /* GCC releases before GCC 4.9 had a bug in _Alignof.  See GCC bug 52023
-   <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.
+   <https://gcc.gnu.org/PR52023>.
    clang versions < 8.0.0 have the same bug.
    IBM XL C V16.1.0 cc (non-clang) has the same bug.  */
 #  if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
index 127ec05b60d19b732788cd0a88030ce2ab16cad4..d52d549489f003cf4d61e815525b9b14682806d3 100644 (file)
@@ -85,7 +85,7 @@ AC_DEFUN_ONCE([gl_STDDEF_H],
   dnl Provide gl_unreachable() unconditionally.
   GL_GENERATE_STDDEF_H=true
 
-  dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869
+  dnl https://gcc.gnu.org/PR114869
   AC_CACHE_CHECK([whether nullptr_t needs <stddef.h>],
     [gl_cv_nullptr_t_needs_stddef],
     [AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[nullptr_t x;]],
@@ -96,7 +96,7 @@ AC_DEFUN_ONCE([gl_STDDEF_H],
     GL_GENERATE_STDDEF_H=true
   fi
 
-  dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870
+  dnl https://gcc.gnu.org/PR114870
   dnl affects GCC 13.3 and 14.2.
   AC_CACHE_CHECK([whether <stddef.h> is idempotent],
     [gl_cv_stddef_idempotent],
index 053bafd2f346c3937868729d2cb9bf4f6533b631..f88294e7c4c9cfca9839eebb41c5b32aaa396620 100644 (file)
@@ -66,7 +66,7 @@ AC_DEFUN([gl_WCHAR_H_INLINE_OK],
 [
   dnl Test whether <wchar.h> suffers due to the transition from '__inline' to
   dnl 'gnu_inline'. See <https://sourceware.org/PR4022>
-  dnl and <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>. In summary,
+  dnl and <https://gcc.gnu.org/PR42440>. In summary,
   dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and
   dnl the option -std=c99 or -std=gnu99, leads to a broken <wchar.h>.
   AC_REQUIRE([AC_CANONICAL_HOST])
index d0951d8472aad9331bdc2c336b1b48601023d0a9..5813e92ada2a6c5ac0184db2095221b64c129119 100644 (file)
@@ -19,7 +19,7 @@ gl_LIBUNISTRING_MODULE([1.3], [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/bugzilla/show_bug.cgi?id=110112>.
+# -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 5450bb9b149c91526729a5cbdfcc802b1fc24359..84f94f232ddda72957bf14b460e7676320d8ffe0 100644 (file)
@@ -125,7 +125,7 @@ main (void)
     /* This test works only if the canonicalize_file_name implementation
        comes from gnulib.  If it comes from libc, we have no way to prevent
        gcc from "optimizing" the null_ptr function in invalid ways.  See
-       <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93156>.  */
+       <https://gcc.gnu.org/PR93156>.  */
 #if GNULIB_defined_canonicalize_file_name
     errno = 0;
     result = canonicalize_file_name (null_ptr ());
index 083bf1703ad479d94c0a0e7ea268e1dede27c46c..662f9b0762a2a7b5962d976ba14d27cdf0adcf0a 100644 (file)
@@ -129,7 +129,7 @@ main (void)
     /* This test works only if the canonicalize_file_name implementation
        comes from gnulib.  If it comes from libc, we have no way to prevent
        gcc from "optimizing" the null_ptr function in invalid ways.  See
-       <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93156>.  */
+       <https://gcc.gnu.org/PR93156>.  */
 #if GNULIB_defined_canonicalize_file_name
     errno = 0;
     result1 = canonicalize_file_name (null_ptr ());
index d16b67b5cea4137f016055ea5ad205d8fc9841aa..cce1386e2428c3ba5b42e064e68fc1b30286e8d0 100644 (file)
@@ -26,7 +26,7 @@
 # pragma GCC diagnostic ignored "-Wtype-limits"
 
 /* Work around a bug in GCC 6.1 and earlier; see:
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971  */
+   https://gcc.gnu.org/PR68971  */
 # pragma GCC diagnostic ignored "-Woverflow"
 
 #endif
index 270ff86a9d29434f78d685291f7d0da884d8c49f..b793805542f690ebaf460d8f687385dbdb55a602 100644 (file)
@@ -95,7 +95,7 @@ test_errors (int fd, const char *slave)
   /* This test works only if the ptsname_r implementation comes from gnulib.
      If it comes from libc, we have no way to prevent gcc from "optimizing"
      the null_ptr function in invalid ways.  See
-     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93156>.  */
+     <https://gcc.gnu.org/PR93156>.  */
 #if GNULIB_defined_ptsname_r
   result = ptsname_r (fd, null_ptr (), 0);
   ASSERT (result != 0);
index f60a6e0a05e49d7ff71f79ed6d92d033a86697b4..0b5110519d3468ac54bcc2c4f42d67307028c419 100644 (file)
@@ -3168,7 +3168,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
     /* This test is known to fail
          - on musl libc,
          - with GCC 14.1, 13.2, 12.3, and 11.4
-           <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114876>  */
+           <https://gcc.gnu.org/PR114876>  */
     ASSERT (memcmp (result, "a\0z 33\0", 6 + 1) == 0);
     ASSERT (retval == 6);
   }