This test requires thumb1, so skip it for targets that don't support
that instead of specifying an arch value that might be overridden by
multilib flags.

OK for trunk, and later for 4.6?
2011-06-21  Janis Johnson  <jani...@codesourcery.com>

        * gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1.

Index: gcc.target/arm/thumb-bitfld1.c
===================================================================
--- gcc.target/arm/thumb-bitfld1.c      (revision 175269)
+++ gcc.target/arm/thumb-bitfld1.c      (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-O1 -mthumb -march=armv5t" }  */
+/* { dg-require-effective-target arm_thumb1_ok } */
+/* { dg-options "-O1 -mthumb" }  */
 
 struct foo
 {

Reply via email to