diff mbox

[testsuite] Avoid architecture options conflict for case pr42894.c

Message ID 000c01cc631c$83737dc0$8a5a7940$@guo@arm.com
State New
Headers show

Commit Message

Terry Guo Aug. 25, 2011, 11:45 a.m. UTC
Hello,

I think it is useful to run this case for newer arm targets. So the patch
intends to skip the warning of architecture conflicts. Is it ok to commit to
trunk?

BR,
Terry

gcc/testsuite/ChangeLog:

2011-08-25  Terry Guo  <terry.guo@arm.com>

        * gcc.dg/tls/pr42894.c: Add dg-prune-output to skip
        architecture conflict.

Comments

Richard Earnshaw Sept. 9, 2011, 8:59 a.m. UTC | #1
Ok.

R.



On 25 Aug 2011, at 12:45, "Terry Guo" <terry.guo@arm.com> wrote:

> Hello,
> 
> I think it is useful to run this case for newer arm targets. So the patch
> intends to skip the warning of architecture conflicts. Is it ok to commit to
> trunk?
> 
> BR,
> Terry
> 
> gcc/testsuite/ChangeLog:
> 
> 2011-08-25  Terry Guo  <terry.guo@arm.com>
> 
>        * gcc.dg/tls/pr42894.c: Add dg-prune-output to skip
>        architecture conflict.
> 
> 
> diff --git a/gcc/testsuite/gcc.dg/tls/pr42894.c
> b/gcc/testsuite/gcc.dg/tls/pr42894.c
> index c3bd76c..cda6719 100644
> --- a/gcc/testsuite/gcc.dg/tls/pr42894.c
> +++ b/gcc/testsuite/gcc.dg/tls/pr42894.c
> @@ -2,6 +2,7 @@
> /* { dg-do compile } */
> /* { dg-options "-march=armv5te -mthumb" { target arm*-*-* } } */
> /* { dg-require-effective-target tls } */
> +/* { dg-prune-output "switch .* conflicts with" } */
> 
> extern __thread int t;
> 
> 
> 
> 
> 
>
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/tls/pr42894.c
b/gcc/testsuite/gcc.dg/tls/pr42894.c
index c3bd76c..cda6719 100644
--- a/gcc/testsuite/gcc.dg/tls/pr42894.c
+++ b/gcc/testsuite/gcc.dg/tls/pr42894.c
@@ -2,6 +2,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-march=armv5te -mthumb" { target arm*-*-* } } */
 /* { dg-require-effective-target tls } */
+/* { dg-prune-output "switch .* conflicts with" } */
 
 extern __thread int t;