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

Richard Earnshaw rearnsha@arm.com
Fri Sep 9 09:17:00 GMT 2011


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;
> 
> 
> 
> 
> 
> 



More information about the Gcc-patches mailing list