PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / gcc-have-sync-compare-and-swap-2.c
blob2189ff7f99cc7533949ff80ef3268aeab430d1e7
1 /* { dg-do preprocess } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=i486" } } */
4 /* { dg-options "-march=i486" } */
6 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
7 #error nonono
8 #endif
10 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
11 #error nonono
12 #endif
14 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15 #error nonono
16 #endif
18 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19 #error nonono
20 #endif
22 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
23 #error nonono
24 #endif