Looks like the pragmas recently added to lib/regex.c have not been installed upstream. I did the sync from libc anyway ... -k
*** lib/regex.c Sun Dec 31 00:26:03 2023 --- /tmp/gnulib.srclist/regex.c Tue Jan 2 00:26:37 2024 *************** *** 1,4 **** /* Extended regular expression matching and search library. ! Copyright (C) 2002-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <is...@yamato.ibm.com>. --- 1,4 ---- /* Extended regular expression matching and search library. ! Copyright (C) 2002-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Isamu Hasegawa <is...@yamato.ibm.com>. *************** *** 27,34 **** # pragma GCC diagnostic ignored "-Wvla" # endif - # if __GNUC_PREREQ (4, 3) - # pragma GCC diagnostic ignored "-Wold-style-definition" - # pragma GCC diagnostic ignored "-Wtype-limits" - # endif #endif --- 27,30 ----