Patchwork [testsuite] ARM: don't specify unneeded -march

login
register
mail settings
Submitter Janis Johnson
Date June 21, 2011, 9:48 p.m.
Message ID <4E0111BE.1030004@codesourcery.com>
Download mbox | patch
Permalink /patch/101381/
State New
Headers show

Comments

Janis Johnson - June 21, 2011, 9:48 p.m.
I modified these tests last week to check for thumb support and to
ignore messages about conflicting options, but -march isn't needed
and so there shouldn't be any conflicting options.

OK?
2011-06-21  Janis Johnson  <janisjo@codesourcery.com>

	* gcc.target/arm/pr45701-1.c: Don't specify -march; remove
	dg-prune-output.
	* gcc.target/arm/pr45701-2.c: Ditto.
Mike Stump - June 28, 2011, 12:11 a.m.
On Jun 21, 2011, at 2:48 PM, Janis Johnson wrote:
> I modified these tests last week to check for thumb support and to
> ignore messages about conflicting options, but -march isn't needed
> and so there shouldn't be any conflicting options.
> 
> OK?

Ok.

Patch

Index: gcc.target/arm/pr45701-1.c
===================================================================
--- gcc.target/arm/pr45701-1.c	(revision 175269)
+++ gcc.target/arm/pr45701-1.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
-/* { dg-options "-march=armv7-a -mthumb -Os" }  */
-/* { dg-prune-output "switch .* conflicts with" } */
+/* { dg-options "-mthumb -Os" }  */
 /* { dg-final { scan-assembler "push\t\{r3" } } */
 /* { dg-final { scan-assembler-not "r8" } } */
 
Index: gcc.target/arm/pr45701-2.c
===================================================================
--- gcc.target/arm/pr45701-2.c	(revision 175269)
+++ gcc.target/arm/pr45701-2.c	(working copy)
@@ -1,7 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
-/* { dg-options "-march=armv7-a -mthumb -Os" }  */
-/* { dg-prune-output "switch .* conflicts with" } */
+/* { dg-options "-mthumb -Os" }  */
 /* { dg-final { scan-assembler "push\t\{r3" } } */
 /* { dg-final { scan-assembler-not "r8" } } */