2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / gcc-have-sync-compare-and-swap-1.c
blob07d3368cb6cee9c370b22e24e34a6b22d8f2d406
1 /* { dg-do preprocess } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=i386" } } */
4 /* { dg-options "-march=i386" } */
6 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
7 #error nonono
8 #endif
10 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
11 #error nonono
12 #endif
14 #ifdef __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