Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.target / mips / gcc-have-sync-compare-and-swap-2.c
blobfed2b38a57f0348234325b527974ccd67dc1def0
1 /* { dg-do preprocess } */
2 /* { dg-mips-options "-mgp64" } */
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 #if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8) == defined (__mips16)
17 #error nonono
18 #endif
20 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
21 #error nonono
22 #endif