summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/attr_thumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/attr_thumb.c')
-rw-r--r--gcc/testsuite/gcc.target/arm/attr_thumb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/attr_thumb.c b/gcc/testsuite/gcc.target/arm/attr_thumb.c
index 02ddfdac6c3..eac47139dbf 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" } } */