diff mbox

[testsuite] gcc.target/arm/unsigned-extend-1.c: omit -march option

Message ID 506396A5.4030607@mentor.com
State New
Headers show

Commit Message

Janis Johnson Sept. 26, 2012, 11:58 p.m. UTC
Test gcc.target/arm/unsigned-extend-1.c specifies option -march=armv6,
which causes compile failures when that option conflicts with other
test flags, such as for multilibs.  It can also be overridden by other
test flags.  The test is scanning that instruction "uxtb" is not
issued.  Leaving off the option won't hurt when the effective target
doesn't support the instruction, and will allow the test to be tried
with other newer processors as well.

OK for trunk?

Janis
2012-09-26  Janis Johnson  <janisjo@codesourcery.com>

	* gcc.target/arm/unsigned-extend-1.c: Omit -march option.

Comments

Mike Stump Sept. 27, 2012, 3:40 p.m. UTC | #1
On Sep 26, 2012, at 4:58 PM, Janis Johnson <janis_johnson@mentor.com> wrote:

> Test gcc.target/arm/unsigned-extend-1.c specifies option -march=armv6,
> which causes compile failures when that option conflicts with other
> test flags, such as for multilibs.  It can also be overridden by other
> test flags.  The test is scanning that instruction "uxtb" is not
> issued.  Leaving off the option won't hurt when the effective target
> doesn't support the instruction, and will allow the test to be tried
> with other newer processors as well.
> 
> OK for trunk?

Ok.
diff mbox

Patch

Index: gcc.target/arm/unsigned-extend-1.c
===================================================================
--- gcc.target/arm/unsigned-extend-1.c	(revision 191765)
+++ gcc.target/arm/unsigned-extend-1.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=armv6" } */
+/* { dg-options "-O2" } */
 
 unsigned char foo (unsigned char c)
 {