Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / bfin / workarounds-none.c
blob3209f2348912a1c8747a0f033a034e5a50bcb4a3
1 /* Test for -mcpu=. */
2 /* { dg-do preprocess } */
3 /* { dg-bfin-options "-mcpu=bf537-none" } */
5 #ifndef __ADSPBF537__
6 #error "__ADSPBF537__ is not defined"
7 #endif
9 #ifdef __SILICON_REVISION__
10 #error "__SILICON_REVISION__ is defined"
11 #endif
13 #ifdef __WORKAROUNDS_ENABLED
14 #error "__WORKAROUNDS_ENABLED is defined"
15 #endif
17 #ifdef __WORKAROUND_RETS
18 #error "__WORKAROUND_RETS is defined"
19 #endif
21 #ifdef __WORKAROUND_SPECULATIVE_LOADS
22 #error "__WORKAROUND_SPECULATIVE_LOADS is defined"
23 #endif
25 #ifdef __WORKAROUND_SPECULATIVE_SYNCS
26 #error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
27 #endif