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  <jani...@codesourcery.com>

        * gcc.target/arm/pr45701-1.c: Don't specify -march; remove
        dg-prune-output.
        * gcc.target/arm/pr45701-2.c: Ditto.

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

Reply via email to