]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
move dg-do before dg-require
authorJason Merrill <jason@gcc.gnu.org>
Mon, 10 Mar 2014 19:31:50 +0000 (15:31 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 Mar 2014 19:31:50 +0000 (15:31 -0400)
From-SVN: r208460

gcc/testsuite/g++.dg/tls/thread_local-wrap1.C
gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
gcc/testsuite/g++.dg/tls/thread_local-wrap3.C
gcc/testsuite/g++.dg/tls/thread_local-wrap4.C

index 45efc0a6ffb8a2c00183b1ec0ddd0ce4006e2cc5..813a6727b08bfed37e75958678324fcc499574c8 100644 (file)
@@ -1,8 +1,8 @@
 // If we can see the definition at the use site, we don't need to bother
 // with a wrapper.
 
-// { dg-require-effective-target tls }
 // { dg-do compile { target c++11 } }
+// { dg-require-effective-target tls }
 // { dg-final { scan-assembler-not "_ZTW1i" } }
 
 thread_local int i = 42;
index c836605214188b0195b7d0261e357c68a574de81..f07d7ae0708204d00cf80b208369608dd2fcaa30 100644 (file)
@@ -1,8 +1,8 @@
 // If we can't see the definition at the use site, but it's in this translation
 // unit, we build a wrapper but don't bother with an init function.
 
-// { dg-require-effective-target tls }
 // { dg-do compile { target c++11 } }
+// { dg-require-effective-target tls }
 // { dg-final { scan-assembler "_ZTW1i" } }
 // { dg-final { scan-assembler-not "_ZTH1i" } }
 
index f2fda8c3ad80c6c876832f4b1637f4c54383c62c..ee8f147912bcb075c5234d2cdf21f33f58080e40 100644 (file)
@@ -1,9 +1,9 @@
 // If we can't see the definition at all, we need to assume there might be
 // an init function.
 
+// { dg-do compile { target c++11 } }
 // { dg-require-alias "" }
 // { dg-require-effective-target tls }
-// { dg-do compile { target c++11 } }
 // { dg-final { scan-assembler "_ZTW1i" } }
 // { dg-final { scan-assembler "_ZTH1i" } }
 
index e0d66db34ea21a6acea42505a73b8a74dccbfcf7..292c86806f443f152394faee8dde254f5262aa46 100644 (file)
@@ -1,9 +1,9 @@
 // We don't need to call the wrapper through the PLT; we can use a separate
 // copy per shared object.
 
+// { dg-do compile { target c++11 } }
 // { dg-require-effective-target tls }
 // { dg-require-effective-target fpic }
-// { dg-do compile { target c++11 } }
 // { dg-options "-fPIC" }
 // { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } }