Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / gcc.target / bfin / workarounds-1.c
blob53ca1d7b7e510010d6da3b46e9969c4e1cd1d8e7
1 /* Test for -mcpu=. */
2 /* { dg-do preprocess } */
3 /* { dg-bfin-options "-mcsync-anomaly -mcpu=bf537" } */
5 #ifndef __ADSPBF537__
6 #error "__ADSPBF537__ is not defined"
7 #endif
9 #if __SILICON_REVISION__ != 0x0003
10 #error "__SILICON_REVISION__ is not 0x0003"
11 #endif
13 #ifndef __WORKAROUNDS_ENABLED
14 #error "__WORKAROUNDS_ENABLED is not defined"
15 #endif
17 #ifndef __WORKAROUND_RETS
18 #error "__WORKAROUND_RETS is not defined"
19 #endif
21 #ifndef __WORKAROUND_SPECULATIVE_LOADS
22 #error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
23 #endif
25 #ifndef __WORKAROUND_SPECULATIVE_SYNCS
26 #error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
27 #endif