aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2018-01-18 14:26:02 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2018-01-18 14:26:02 +0000
commit215054684a2cfb50a968ef98b66bb790ec5974b0 (patch)
tree6ed01757820df646083e89a8e392db6364082f12 /gcc
parent7365279fca30371b07e49bfa83a23ddc44cc3860 (diff)
downloadgcc-215054684a2cfb50a968ef98b66bb790ec5974b0.zip
gcc-215054684a2cfb50a968ef98b66bb790ec5974b0.tar.gz
gcc-215054684a2cfb50a968ef98b66bb790ec5974b0.tar.bz2
[arm] Fix gcc.target/arm/pr70278.c
This test needs an armv4t Thumb1 target but doesn't add the right effective target checks. This patch adds them so the test is skipped appropriately on Thumb2 hard-float tarets. * gcc.target/arm/pr70278.c: Add effective target checks for armv4t and arm_thumb1_ok. From-SVN: r256848
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/arm/pr70278.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0ae3871..b8d36aa 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gcc.target/arm/pr70278.c: Add effective target checks for armv4t
+ and arm_thumb1_ok.
+
2018-01-18 Boris Kolpackov <boris@codesynthesis.com>
PR other/70268
diff --git a/gcc/testsuite/gcc.target/arm/pr70278.c b/gcc/testsuite/gcc.target/arm/pr70278.c
index c44c07b..9703416 100644
--- a/gcc/testsuite/gcc.target/arm/pr70278.c
+++ b/gcc/testsuite/gcc.target/arm/pr70278.c
@@ -1,6 +1,8 @@
/* { dg-do compile } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv4t" } } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
+/* { dg-require-effective-target arm_arch_v4t_ok } */
+/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-mthumb" } */
/* { dg-add-options arm_arch_v4t } */
/*