diff mbox

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

Message ID 4E0111BE.1030004@codesourcery.com
State New
Headers show

Commit Message

Janis Johnson June 21, 2011, 9:48 p.m. UTC
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.

Comments

Mike Stump June 28, 2011, 12:11 a.m. UTC | #1
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.
diff mbox

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" } } */