From 414578bdaa08d7c09fd51e64230e6e1ffa2101b0 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 10 Mar 2014 15:31:50 -0400 Subject: [PATCH] move dg-do before dg-require From-SVN: r208460 --- gcc/testsuite/g++.dg/tls/thread_local-wrap1.C | 2 +- gcc/testsuite/g++.dg/tls/thread_local-wrap2.C | 2 +- gcc/testsuite/g++.dg/tls/thread_local-wrap3.C | 2 +- gcc/testsuite/g++.dg/tls/thread_local-wrap4.C | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/g++.dg/tls/thread_local-wrap1.C b/gcc/testsuite/g++.dg/tls/thread_local-wrap1.C index 45efc0a6ffb8..813a6727b08b 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-wrap1.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-wrap1.C @@ -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; diff --git a/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C b/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C index c83660521418..f07d7ae07082 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C @@ -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" } } diff --git a/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C b/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C index f2fda8c3ad80..ee8f147912bc 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C @@ -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" } } diff --git a/gcc/testsuite/g++.dg/tls/thread_local-wrap4.C b/gcc/testsuite/g++.dg/tls/thread_local-wrap4.C index e0d66db34ea2..292c86806f44 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-wrap4.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-wrap4.C @@ -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-*-* } } } -- 2.47.2