[g++, testsuite] XFAIL thread_local-order2.C on newlib
authorJiong Wang <jiong.wang@arm.com>
Wed, 29 Mar 2017 10:33:04 +0000 (10:33 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 29 Mar 2017 10:33:04 +0000 (10:33 +0000)
testsuite/
* g++.dg/tls/thread_local-order2.C: XFAIL on newlib.

As commented by Mike, it's better that newlib support this feature, tracked by

  https://sourceware.org/bugzilla/show_bug.cgi?id=21325

From-SVN: r246563

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/thread_local-order2.C

index e7ac462932bae4f27cc066f1e76617ff7a967f66..6801cba65fc9423c0486e41d8fc8daa835cd36dc 100644 (file)
@@ -1,3 +1,7 @@
+2017-03-28  Jiong Wang  <jiong.wang@arm.com>
+
+       * g++.dg/tls/thread_local-order2.C: XFAIL on newlib.
+
 2017-03-28  Segher Boessenkool  <segher@kernel.crashing.org>
 
        PR testsuite/43496
index 3cbd257b5fab05d9af7aeceb4f97e9a79d2a283e..d274e8c606542893f8a792469e075056793335ea 100644 (file)
@@ -6,7 +6,7 @@
 // { dg-require-effective-target c++11 }
 // { dg-add-options tls }
 // { dg-require-effective-target tls_runtime }
-// { dg-xfail-run-if "" { hppa*-*-hpux* *-*-solaris* } }
+// { dg-xfail-run-if "" { { hppa*-*-hpux* *-*-solaris* } || { newlib } } }
 
 extern "C" void abort();
 extern "C" int printf (const char *, ...);