summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/g2.c
diff options
context:
space:
mode:
authorSofiane Naci <sofiane.naci@arm.com>2011-06-01 21:51:25 +0000
committerJing Yu <jingyu@gcc.gnu.org>2011-06-01 21:51:25 +0000
commita82fcbe8255c5a3716710f27f08dc76ac16aeeca (patch)
treef1c02443355cfebfc55dc2e0db16d36fba88bb72 /gcc/testsuite/gcc.target/arm/g2.c
parent88c158217c256ee61beca5b39b4c58f3ecfb4da2 (diff)
downloadgcc-a82fcbe8255c5a3716710f27f08dc76ac16aeeca.tar.gz
g2.c: Skip test in -mthumb.
2011-06-01 Sofiane Naci <sofiane.naci@arm.com> * gcc.target/arm/g2.c: Skip test in -mthumb. Skip test unless cpu is xscale. * gcc.target/arm/scd42-2.c: Likewise. * gcc.target/arm/mmx-1.c: Skip test in -mthumb. From-SVN: r174549
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/g2.c')
-rw-r--r--gcc/testsuite/gcc.target/arm/g2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/g2.c b/gcc/testsuite/gcc.target/arm/g2.c
index 031b93657da..85ba1906a91 100644
--- a/gcc/testsuite/gcc.target/arm/g2.c
+++ b/gcc/testsuite/gcc.target/arm/g2.c
@@ -2,6 +2,8 @@
/* { dg-do compile } */
/* { dg-options "-mcpu=xscale -O2" } */
/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
+/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */
+/* { dg-skip-if "Test is specific to ARM mode" { arm*-*-* } { "-mthumb" } { "" } } */
/* { dg-require-effective-target arm32 } */
/* Brett Gaines' test case. */