Merge from trunk @ 138209
[official-gcc.git] / gcc / testsuite / gcc.target / mips / gcc-have-sync-compare-and-swap-4.c
blobb53f4b05b61081e3adb6f51c71a679476e191105
1 /* { dg-do preprocess { target mips16_attribute } } */
2 /* { dg-mips-options "-mgp64 -mips16" } */
3 /* { dg-add-options mips16_attribute } */
5 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
6 #error nonono
7 #endif
9 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
10 #error nonono
11 #endif
13 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
14 #error nonono
15 #endif
17 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18 #error nonono
19 #endif
21 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
22 #error nonono
23 #endif