https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108161
--- Comment #2 from nightstrike <nightstrike at gmail dot com> ---
(In reply to nightstrike from comment #0)
> diff --git a/gcc/testsuite/gcc.dg/ipa/pr96040.c
> b/gcc/testsuite/gcc.dg/ipa/pr96040.c
> index af7e9c4ed94..9c9b76269a6 100644
> --- a/gcc/testsuite/gcc.dg/ipa/pr96040.c
> +++ b/gcc/testsuite/gcc.dg/ipa/pr96040.c
> @@ -3,8 +3,8 @@
>
>
> int puts(const char *);
> -int snprintf(char *, unsigned long, const char *, ...);
> -unsigned long strspn(const char *, const char *);
> +int snprintf(char *, __SIZE_TYPE__, const char *, ...);
> +__SIZE_TYPE__ strspn(const char *, const char *);
>
> struct TValue {
> union {
This solution was applied in
r15-1873-gbb16e3179e79e4307f1d834a02e63d0dfd817f67, and this PR can now be
closed.