From: Jason Merrill Date: Sat, 19 Jan 2013 15:35:03 +0000 (-0500) Subject: correct dg-require-alias use in TLS tests X-Git-Tag: releases/gcc-4.8.0~854 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3122f3b1b8ca6df1ddf839b1f91b4d3034a14cde;p=thirdparty%2Fgcc.git correct dg-require-alias use in TLS tests From-SVN: r195313 --- diff --git a/gcc/testsuite/g++.dg/gomp/tls-5.C b/gcc/testsuite/g++.dg/gomp/tls-5.C index f1dcdae688db..3679593af0ec 100644 --- a/gcc/testsuite/g++.dg/gomp/tls-5.C +++ b/gcc/testsuite/g++.dg/gomp/tls-5.C @@ -1,6 +1,5 @@ // The reference temp should be TLS, not normal data. // { dg-require-effective-target c++11 } -// { dg-require-alias } // { dg-final { scan-assembler-not "\\.data" { target tls_native } } } extern int&& ir; diff --git a/gcc/testsuite/g++.dg/gomp/tls-wrap3.C b/gcc/testsuite/g++.dg/gomp/tls-wrap3.C index abe5cb0b585a..dd4b900e826f 100644 --- a/gcc/testsuite/g++.dg/gomp/tls-wrap3.C +++ b/gcc/testsuite/g++.dg/gomp/tls-wrap3.C @@ -1,7 +1,7 @@ // If we can't see the definition at all, we need to assume there might be // an init function. -// { dg-require-alias } +// { dg-require-alias "" } // { dg-require-effective-target tls } // { dg-final { scan-assembler "_ZTW1i" } } // { dg-final { scan-assembler "_ZTH1i" } } diff --git a/gcc/testsuite/g++.dg/tls/thread_local-cse.C b/gcc/testsuite/g++.dg/tls/thread_local-cse.C index 486a986664d9..33064d67c819 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-cse.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-cse.C @@ -4,7 +4,6 @@ // { dg-options "-std=c++11 -O -fno-inline -save-temps" } // { dg-add-options tls } // { dg-require-effective-target tls_runtime } -// { dg-require-alias } // { dg-final { scan-assembler-times "call *_ZTW2ir" 1 { xfail *-*-* } } } // { dg-final cleanup-saved-temps } diff --git a/gcc/testsuite/g++.dg/tls/thread_local-order1.C b/gcc/testsuite/g++.dg/tls/thread_local-order1.C index 231b290dea73..10b53af83c89 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-order1.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-order1.C @@ -2,7 +2,6 @@ // { dg-options "-std=c++11" } // { dg-add-options tls } // { dg-require-effective-target tls_runtime } -// { dg-require-alias } // { dg-require-cxa-atexit "" } extern "C" void abort(); diff --git a/gcc/testsuite/g++.dg/tls/thread_local-order2.C b/gcc/testsuite/g++.dg/tls/thread_local-order2.C index 2d85eca2c1e8..a24df28ebc9e 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-order2.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-order2.C @@ -6,7 +6,6 @@ // { dg-options "-std=c++11" } // { dg-add-options tls } // { dg-require-effective-target tls_runtime } -// { dg-require-alias } extern "C" void abort(); extern "C" int printf (const char *, ...); diff --git a/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C b/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C index 6b2fb4f87145..ca40e52b5498 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C @@ -1,7 +1,7 @@ // If we can't see the definition at all, we need to assume there might be // an init function. -// { dg-require-alias } +// { dg-require-alias "" } // { dg-require-effective-target tls } // { dg-options "-std=c++11" } // { dg-final { scan-assembler "_ZTW1i" } } diff --git a/gcc/testsuite/g++.dg/tls/thread_local2g.C b/gcc/testsuite/g++.dg/tls/thread_local2g.C index e1ad20dd8c83..e84ef56e0812 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local2g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local2g.C @@ -2,7 +2,6 @@ // { dg-options "-std=c++11" } // { dg-add-options tls } // { dg-require-effective-target tls_runtime } -// { dg-require-alias } extern "C" void abort(); diff --git a/gcc/testsuite/g++.dg/tls/thread_local3g.C b/gcc/testsuite/g++.dg/tls/thread_local3g.C index 19a213e0006a..a3c9ebcc2c51 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local3g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local3g.C @@ -2,7 +2,6 @@ // { dg-require-effective-target c++11 } // { dg-require-effective-target tls_runtime } // { dg-require-effective-target pthread } -// { dg-require-alias } // { dg-require-cxa-atexit "" } // { dg-options -pthread } // { dg-add-options tls } diff --git a/gcc/testsuite/g++.dg/tls/thread_local4g.C b/gcc/testsuite/g++.dg/tls/thread_local4g.C index f9c4b77aef0b..f5bc3ffa86d4 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local4g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local4g.C @@ -4,7 +4,6 @@ // { dg-require-effective-target c++11 } // { dg-require-effective-target tls_runtime } // { dg-require-effective-target pthread } -// { dg-require-alias } // { dg-require-cxa-atexit "" } // { dg-options -pthread } // { dg-add-options tls } diff --git a/gcc/testsuite/g++.dg/tls/thread_local5g.C b/gcc/testsuite/g++.dg/tls/thread_local5g.C index 1e3c9b709307..f87b0382d960 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local5g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local5g.C @@ -4,7 +4,6 @@ // { dg-require-effective-target c++11 } // { dg-require-effective-target tls_runtime } // { dg-require-effective-target pthread } -// { dg-require-alias } // { dg-require-cxa-atexit "" } // { dg-options -pthread } // { dg-add-options tls } diff --git a/gcc/testsuite/g++.dg/tls/thread_local6g.C b/gcc/testsuite/g++.dg/tls/thread_local6g.C index 57270aaa2809..70e97d3b259e 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local6g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local6g.C @@ -5,7 +5,6 @@ // { dg-add-options tls } // { dg-require-effective-target tls_runtime } // { dg-require-cxa-atexit "" } -// { dg-require-alias } extern "C" void _exit (int); diff --git a/gcc/testsuite/g++.dg/tls/thread_local7g.C b/gcc/testsuite/g++.dg/tls/thread_local7g.C index 3479aeb31fa7..0fdfe7ef991e 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local7g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local7g.C @@ -1,6 +1,5 @@ // { dg-options "-std=c++11" } // { dg-require-effective-target tls } -// { dg-require-alias } // The reference temp should be TLS, not normal data. // { dg-final { scan-assembler-not "\\.data" { target tls_native } } }