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: upstream/12.2.0~71658 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3122f3b1b8ca6df1ddf839b1f91b4d3034a14cde;p=platform%2Fupstream%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 f1dcdae..3679593 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 abe5cb0..dd4b900 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 486a986..33064d6 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 231b290..10b53af 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 2d85eca..a24df28 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 6b2fb4f..ca40e52 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 e1ad20d..e84ef56 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 19a213e..a3c9ebc 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 f9c4b77..f5bc3ff 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 1e3c9b7..f87b038 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 57270aa..70e97d3 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 3479aeb..0fdfe7e 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 } } }