attr_thumb.c: Skip if Thumb is not supported.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 10 Jul 2015 12:02:13 +0000 (12:02 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 10 Jul 2015 12:02:13 +0000 (14:02 +0200)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/attr_thumb.c
gcc/testsuite/gcc.target/arm/flip-thumb.c

index 237827575488de40e2427e3ff03b2bf4f492ee25..8eab126a7121478016678544c7bd56732e922ae1 100644 (file)
@@ -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
index 02ddfdac6c3cd636234e24808d3c773cd7b07d54..eac47139dbfe627c1bde702726823d13c9e11fde 100644 (file)
@@ -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" } } */
index 91547999427d82f2c177655da8a40a6bf4433551..355d66377558d9007f58056180940122fcf148e0 100644 (file)
@@ -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} } */