From 764703cdeab8953dde7e9b637f6df80ee418ddb8 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 14 Jun 2011 20:29:58 +0000 Subject: [PATCH] pr45701-1.c: Ignore warnings about conflicting switches. * gcc.target/arm/pr45701-1.c: Ignore warnings about conflicting switches. * gcc.target/arm/pr45701-2.c: Likewise. * gcc.target/arm/thumb-branch1.c: Likewise. From-SVN: r175056 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/arm/pr45701-1.c | 1 + gcc/testsuite/gcc.target/arm/pr45701-2.c | 1 + gcc/testsuite/gcc.target/arm/thumb-branch1.c | 1 + 4 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a6a63fcd967..01a2b1a1ef6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-06-14 Janis Johnson + + * gcc.target/arm/pr45701-1.c: Ignore warnings about conflicting switches. + * gcc.target/arm/pr45701-2.c: Likewise. + * gcc.target/arm/thumb-branch1.c: Likewise. + 2011-06-14 Steve Ellcey PR testsuite/48727 diff --git a/gcc/testsuite/gcc.target/arm/pr45701-1.c b/gcc/testsuite/gcc.target/arm/pr45701-1.c index d6f07e9a9ea..3280485ba24 100644 --- a/gcc/testsuite/gcc.target/arm/pr45701-1.c +++ b/gcc/testsuite/gcc.target/arm/pr45701-1.c @@ -1,6 +1,7 @@ /* { 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-final { scan-assembler "push\t\{r3" } } */ /* { dg-final { scan-assembler-not "r8" } } */ diff --git a/gcc/testsuite/gcc.target/arm/pr45701-2.c b/gcc/testsuite/gcc.target/arm/pr45701-2.c index 39ddb54b92d..c666636813a 100644 --- a/gcc/testsuite/gcc.target/arm/pr45701-2.c +++ b/gcc/testsuite/gcc.target/arm/pr45701-2.c @@ -1,6 +1,7 @@ /* { 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-final { scan-assembler "push\t\{r3" } } */ /* { dg-final { scan-assembler-not "r8" } } */ diff --git a/gcc/testsuite/gcc.target/arm/thumb-branch1.c b/gcc/testsuite/gcc.target/arm/thumb-branch1.c index 74885397eb6..eac2e796351 100644 --- a/gcc/testsuite/gcc.target/arm/thumb-branch1.c +++ b/gcc/testsuite/gcc.target/arm/thumb-branch1.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */ /* { dg-options "-Os -mthumb -march=armv5te" } */ +/* { dg-prune-output "switch .* conflicts with" } */ int returnbool(int a, int b) { -- 2.30.2