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