aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2015-07-10 12:02:13 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2015-07-10 14:02:13 +0200
commit73c6609b21b51be4a0e785770582bea3b62c65f0 (patch)
tree5b085d1ff5159aecaf320ed41c8728dd8d3aae04 /gcc
parent1651e9b17c6e41564bb12a073d423961bff33ffe (diff)
downloadgcc-73c6609b21b51be4a0e785770582bea3b62c65f0.zip
gcc-73c6609b21b51be4a0e785770582bea3b62c65f0.tar.gz
gcc-73c6609b21b51be4a0e785770582bea3b62c65f0.tar.bz2
attr_thumb.c: Skip if Thumb is not supported.
2015-07-10 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/attr_thumb.c: Skip if Thumb is not supported. * gcc.target/arm/flip-thumb.c: Likewise. From-SVN: r225665
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/arm/attr_thumb.c2
-rw-r--r--gcc/testsuite/gcc.target/arm/flip-thumb.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2378275..8eab126 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-10 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.target/arm/attr_thumb.c: Skip if Thumb is not supported.
+ * gcc.target/arm/flip-thumb.c: Likewise.
+
2015-07-10 Uros Bizjak <ubizjak@gmail.com>
PR target/66813
diff --git a/gcc/testsuite/gcc.target/arm/attr_thumb.c b/gcc/testsuite/gcc.target/arm/attr_thumb.c
index 02ddfda..eac4713 100644
--- a/gcc/testsuite/gcc.target/arm/attr_thumb.c
+++ b/gcc/testsuite/gcc.target/arm/attr_thumb.c
@@ -1,5 +1,7 @@
/* Check that attribute target thumb is recognized. */
/* { dg-do compile } */
+/* Make sure the current multilib supports thumb. */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O2 -mno-restrict-it" } */
/* { dg-final { scan-assembler-not "\\.arm" } } */
/* { dg-final { scan-assembler "\\.thumb_func" } } */
diff --git a/gcc/testsuite/gcc.target/arm/flip-thumb.c b/gcc/testsuite/gcc.target/arm/flip-thumb.c
index 9154799..355d663 100644
--- a/gcc/testsuite/gcc.target/arm/flip-thumb.c
+++ b/gcc/testsuite/gcc.target/arm/flip-thumb.c
@@ -1,5 +1,7 @@
/* Check -mflip-thumb. */
/* { dg-do compile } */
+/* Make sure the current multilib supports thumb. */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O2 -mflip-thumb -mno-restrict-it" } */
/* { dg-final { scan-assembler "\\.arm" } } */
/* { dg-final { scan-assembler-times "\\.thumb_func" 1} } */