aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2008-04-27 13:44:56 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2008-04-27 13:44:56 +0000
commit9614dce7e655581412e8a095440c7e8842063e5e (patch)
tree94c8918ef3b7449e8bd026a738ec2f791569a621 /gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c
parent0ba7daee0582fa9e0f69e5aaaef1c27478fc228d (diff)
Merged with trunk at revision 134716.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/stack@134728 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c')
-rw-r--r--gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c b/gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c
index fed2b38a57f..4265e4167ba 100644
--- a/gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c
+++ b/gcc/testsuite/gcc.target/mips/gcc-have-sync-compare-and-swap-2.c
@@ -1,11 +1,11 @@
/* { dg-do preprocess } */
/* { dg-mips-options "-mgp64" } */
-#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
+#if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1) == defined (__mips16)
#error nonono
#endif
-#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
+#if defined (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2) == defined (__mips16)
#error nonono
#endif