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