summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-31 10:09:51 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-31 10:09:51 +0000
commit20c31f656a05b4f0a854b6a1dee7f605c0b0633b (patch)
tree98a995cbdb82aa4b2fc85b0d30557a60c2cabeaa /gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
parent6c24dca6125225d09ddbb06bbf31a49e4ff5c88c (diff)
downloadgcc-20c31f656a05b4f0a854b6a1dee7f605c0b0633b.tar.gz
gcc/
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __WORKAROUND_RETS when appropriate. gcc/testsuite/ * gcc.target/bfin/mcpu-default.c: Adjust for recent changes: default CPU has all workarounds, and no longer explicitly sets bf532 as CPU type. * gcc.target/bfin/mcpu-bf531.c: Adjust for WORKAROUND_RETS. * gcc.target/bfin/mcpu-bf532.c: Likewise. * gcc.target/bfin/mcpu-bf533.c: Likewise. * gcc.target/bfin/mcpu-bf534.c: Likewise. * gcc.target/bfin/mcpu-bf536.c: Likewise. * gcc.target/bfin/mcpu-bf537.c: Likewise. * gcc.target/bfin/mcpu-bf548.c: Likewise. * gcc.target/bfin/mcpu-bf549.c: Likewise. * gcc.target/bfin/mcpu-bf561.c: Likewise. * gcc.target/bfin/mcpu-bf523.c: Likewise. * gcc.target/bfin/mcpu-bf524.c: Likewise. * gcc.target/bfin/mcpu-bf526.c: Likewise. * gcc.target/bfin/mcpu-bf522.c: Likewise. * gcc.target/bfin/mcpu-bf525.c: Likewise. * gcc.target/bfin/mcpu-bf527.c: Likewise. * gcc.target/bfin/mcpu-bf538.c: Likewise. * gcc.target/bfin/mcpu-bf539.c: Likewise. * gcc.target/bfin/mcpu-bf542.c: Likewise. * gcc.target/bfin/mcpu-bf544.c: Likewise. * gcc.target/bfin/mcpu-default.c: Likewise. * gcc.target/bfin/workarounds-any.c: Likewise. * gcc.target/bfin/workarounds-none.c: Likewise. * gcc.target/bfin/workarounds-1.c: Likewise. * gcc.target/bfin/workarounds-2.c: Likewise. * gcc.target/bfin/workarounds-3.c: Likewise. * gcc.target/bfin/workarounds-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136236 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/bfin/mcpu-bf533.c')
-rw-r--r--gcc/testsuite/gcc.target/bfin/mcpu-bf533.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/bfin/mcpu-bf533.c b/gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
index 9c0478ffb96..a7cf0c6efd7 100644
--- a/gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
+++ b/gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
@@ -14,6 +14,10 @@
#error "__WORKAROUNDS_ENABLED is not defined"
#endif
+#ifndef __WORKAROUND_RETS
+#error "__WORKAROUND_RETS is not defined"
+#endif
+
#ifndef __WORKAROUND_SPECULATIVE_LOADS
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
#endif