]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
thread_local-cse.C: Move dg-do line.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 15 Oct 2012 19:58:03 +0000 (19:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 15 Oct 2012 19:58:03 +0000 (19:58 +0000)
gcc/testsuite/
* g++.dg/tls/thread_local-cse.C: Move dg-do line.
* g++.dg/tls/thread_local-wrap4.C: Require fpic.

From-SVN: r192473

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

index 1b23a7b1dd33b834a4faec9b3e834213bf476e81..781b02a71375c4097266fdba4168dcb2ba102b10 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * g++.dg/tls/thread_local-cse.C: Move dg-do line.
+       * g++.dg/tls/thread_local-wrap4.C: Require fpic.
+
 2012-10-15  Alexandre Oliva  <aoliva@redhat.com>
            Paolo Carlini  <paolo.carlini@oracle.com>
 
index 47c6aede339e9643b377566b64a9b3b6a96f15f9..29553d2ba7e6d925e48f41a248959e8ccdf67000 100644 (file)
@@ -1,11 +1,11 @@
 // Test for CSE of the wrapper function: we should only call it once
 // for the two references to ir.
+// { dg-do run }
 // { dg-options "-std=c++11 -O -fno-inline -save-temps" }
 // { dg-require-effective-target tls_runtime }
 // { dg-require-alias }
 // { dg-final { scan-assembler-times "call *_ZTW2ir" 1 { xfail *-*-* } } }
 // { dg-final cleanup-saved-temps }
-// { dg-do run }
 
 // XFAILed until the back end supports a way to mark a function as cseable
 // though not pure.
index 130114811f8c2500772d94c33ccb93b6abdba126..7c8481cc2cbac80b59507f8506aa18b436058bf7 100644 (file)
@@ -2,6 +2,7 @@
 // copy per shared object.
 
 // { dg-require-effective-target tls }
+// { dg-require-effective-target fpic }
 // { dg-options "-std=c++11 -fPIC" }
 // { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } }