thread_local-order1.C: Add dg-require-cxa-atexit.

* g++.dg/tls/thread_local-order1.C: Add dg-require-cxa-atexit.
	* g++.dg/tls/thread_local3g.C: Likewise.
	* g++.dg/tls/thread_local4g.C: Likewise.
	* g++.dg/tls/thread_local5g.C: Likewise.
	* g++.dg/tls/thread_local6g.C: Likewise.
	* g++.dg/tls/thread_local-cse.C: XFAIL on Solaris 9.
	* g++.dg/tls/thread_local2.C: Likewise.
	* g++.dg/tls/thread_local2g.C: Likewise.
	* g++.dg/tls/thread_local6.C: Likewise.

From-SVN: r193634
This commit is contained in:
Eric Botcazou 2012-11-19 18:57:31 +00:00 committed by Eric Botcazou
parent b5e10eac56
commit 5f4340fe3b
10 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,15 @@
2012-11-19 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/tls/thread_local-order1.C: Add dg-require-cxa-atexit.
* g++.dg/tls/thread_local3g.C: Likewise.
* g++.dg/tls/thread_local4g.C: Likewise.
* g++.dg/tls/thread_local5g.C: Likewise.
* g++.dg/tls/thread_local6g.C: Likewise.
* g++.dg/tls/thread_local-cse.C: XFAIL on Solaris 9.
* g++.dg/tls/thread_local2.C: Likewise.
* g++.dg/tls/thread_local2g.C: Likewise.
* g++.dg/tls/thread_local6.C: Likewise.
2012-11-19 Aldy Hernandez <aldyh@redhat.com>
* g++.dg/tm/pr51516.C: Adjust for uninstrumented code path.

View File

@ -1,6 +1,6 @@
// Test for CSE of the wrapper function: we should only call it once
// for the two references to ir.
// { dg-do run }
// { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11 -O -fno-inline -save-temps" }
// { dg-require-effective-target tls_runtime }
// { dg-require-alias }

View File

@ -2,6 +2,7 @@
// { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime }
// { dg-require-alias }
// { dg-require-cxa-atexit "" }
extern "C" void abort();
extern "C" int printf (const char *, ...);

View File

@ -1,4 +1,4 @@
// { dg-do run }
// { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime }

View File

@ -1,4 +1,4 @@
// { dg-do run }
// { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime }
// { dg-require-alias }

View File

@ -3,6 +3,7 @@
// { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread }
// { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread }
int c;

View File

@ -5,6 +5,7 @@
// { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread }
// { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread }
#include <pthread.h>

View File

@ -5,6 +5,7 @@
// { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread }
// { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread }
#include <pthread.h>

View File

@ -1,6 +1,6 @@
// Test for cleanups in the main thread without -pthread.
// { dg-do run }
// { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime }

View File

@ -3,6 +3,7 @@
// { dg-do run }
// { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime }
// { dg-require-cxa-atexit "" }
// { dg-require-alias }
extern "C" void _exit (int);