Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / gcc-have-sync-compare-and-swap-3.c
blob40dd9357fe3695b1aac562025072bbd8c7251ffb
1 /* { dg-do preprocess } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-march=i586" } */
5 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
6 #error nonono
7 #endif
9 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
10 #error nonono
11 #endif
13 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
14 #error nonono
15 #endif
17 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18 #error nonono
19 #endif
21 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
22 #error nonono
23 #endif