Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.target / mips / gcc-have-sync-compare-and-swap-1.c
blob72eff4da37c3b7a28f8f5c5404caf1b407a4a377
1 /* { dg-do preprocess } */
2 /* { dg-mips-options "-mips2" } */
4 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
5 #error nonono
6 #endif
8 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
9 #error nonono
10 #endif
12 #if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) == defined (__mips16)
13 #error nonono
14 #endif
16 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17 #error nonono
18 #endif
20 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
21 #error nonono
22 #endif