Replace long with int64_t to work with -mx32. * gcc.target/i386/pr103194-5.c: Replace long with int64_t. --- gcc/testsuite/gcc.target/i386/pr103194-5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/pr103194-5.c b/gcc/testsuite/gcc.target/i386/pr103194-5.c index dfaddf0aa6e..2e335285c2f 100644 --- a/gcc/testsuite/gcc.target/i386/pr103194-5.c +++ b/gcc/testsuite/gcc.target/i386/pr103194-5.c @@ -2,6 +2,7 @@ /* { dg-options "-O2" } */ #include <stdatomic.h> #include <stdbool.h> +#include <stdint.h> #define FOO(RTYPE,TYPE) \ __attribute__((noinline,noclone)) RTYPE \ @@ -53,7 +54,7 @@ return __sync_fetch_and_and (a, ~mask) & mask; \ } \ -FOO(int, long); +FOO(int, int64_t); /* { dg-final { scan-assembler-times "lock;?\[ \t\]*bts" 2 } } */ /* { dg-final { scan-assembler-times "lock;?\[ \t\]*btc" 4 } } */ -- 2.33.1