This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][ARM][Testsute] Skip thumb1 test in non-thumb1 target
- From: "Joey Ye" <joey dot ye at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 Apr 2012 11:02:58 +0800
- Subject: [PATCH][ARM][Testsute] Skip thumb1 test in non-thumb1 target
Fix the test case failed in ARM state.
* gcc.target/arm/thumb1-imm.c: Skip it in non-thumb1 target
Index: gcc/testsuite/gcc.target/arm/thumb1-imm.c
===================================================================
--- gcc/testsuite/gcc.target/arm/thumb1-imm.c (revision 186517)
+++ gcc/testsuite/gcc.target/arm/thumb1-imm.c (working copy)
@@ -1,5 +1,7 @@
/* Check for thumb1 imm [255-510] moves. */
/* { dg-require-effective-target arm_thumb1_ok } */
+/* { dg-options "-Os" } */
+/* { dg-skip-if "" { ! { arm_thumb1 } } } */
int f()
{