These tests apparently require thumb2 support (I don't yet know much
about ARM).  OK for trunk, and later 4.6?

Janis
2011-06-14  Janis Johnson  <jani...@codesourcery.com>

        * gcc.target/arm/pr42879.c: Skip if no thumb2 support, ignore
        compiler warning about switch conflicts.
        * gcc.target/arm/pr45701-3.c: Likewise.

Index: gcc.target/arm/pr42879.c
===================================================================
--- gcc.target/arm/pr42879.c    (revision 175047)
+++ gcc.target/arm/pr42879.c    (working copy)
@@ -1,4 +1,6 @@
+/* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-march=armv7-a -mthumb -Os" }  */
+/* { dg-prune-output "switch .* conflicts with" } */
 /* { dg-final { scan-assembler "lsls" } } */
 
 struct A
Index: gcc.target/arm/pr45701-3.c
===================================================================
--- gcc.target/arm/pr45701-3.c  (revision 175047)
+++ gcc.target/arm/pr45701-3.c  (working copy)
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-march=armv7-a -mthumb -Os" }  */
+/* { dg-prune-output "switch .* conflicts with" } */
 /* { dg-final { scan-assembler "push\t.*r8" } } */
 /* { dg-final { scan-assembler-not "push\t*r3" } } */
 

Reply via email to