2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / gcc-have-sync-compare-and-swap-1.c
blob4c642258f7b98d17995ce4248c98545fc5b9038b
1 /* { dg-do preprocess } */
2 /* { dg-mips-options "-mips2" } */
4 #if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1) == defined (__mips16)
5 #error nonono
6 #endif
8 #if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2) == defined (__mips16)
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