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




Reply via email to