diff mbox

[testsuite] ARM: require arm_thumb1_ok, drop -march

Message ID 4E01078C.6000002@codesourcery.com
State New
Headers show

Commit Message

Janis Johnson June 21, 2011, 9:05 p.m. UTC
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  <janisjo@codesourcery.com>

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

Comments

Richard Earnshaw June 22, 2011, 8:24 a.m. UTC | #1
On 21/06/11 22:05, Janis Johnson wrote:
> 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?
> 
> 
> gcc-20110621-4
> 
> 
> 2011-06-21  Janis Johnson  <janisjo@codesourcery.com>
> 
> 	* gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1.
> 

OK.

R.
diff mbox

Patch

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
 {