* m4/extern-inline.m4 (gl_EXTERN_INLINE): Port to pcc
1.2.0.DEVEL
20220331, which doesn’t support extern inline
even though it claims to be GCC 4.3 and to support C11.
2023-05-01 Paul Eggert <eggert@cs.ucla.edu>
+ extern-inline: port to pcc
+ * m4/extern-inline.m4 (gl_EXTERN_INLINE): Port to pcc
+ 1.2.0.DEVEL 20220331, which doesn’t support extern inline
+ even though it claims to be GCC 4.3 and to support C11.
+
regex: prefer C23 style overflow checking
* lib/regex_internal.h: Include stdckdint.h.
* lib/regexec.c (re_search_2_stub):
# define _GL_EXTERN_INLINE_STDHEADER_BUG
#endif
#if ((__GNUC__ \
- ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
+ ? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
+ && !defined __PCC__) \
: (199901L <= __STDC_VERSION__ \
&& !defined __HP_cc \
&& !defined __PGI \
# define _GL_EXTERN_INLINE extern inline
# define _GL_EXTERN_INLINE_IN_USE
#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
+ && !defined __PCC__ \
&& !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
/* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */