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

login
register
mail settings
Submitter Terry Guo
Date Aug. 25, 2011, 11:45 a.m.
Message ID <000c01cc631c$83737dc0$8a5a7940$@guo@arm.com>
Download mbox | patch
Permalink /patch/111556/
State New
Headers show

Comments

Terry Guo - Aug. 25, 2011, 11:45 a.m.
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.
Richard Earnshaw - Sept. 9, 2011, 8:59 a.m.
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;
> 
> 
> 
> 
> 
>

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;