Commit 5f4340fe by Eric Botcazou Committed by Eric Botcazou

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
parent b5e10eac
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> 2012-11-19 Aldy Hernandez <aldyh@redhat.com>
* g++.dg/tm/pr51516.C: Adjust for uninstrumented code path. * g++.dg/tm/pr51516.C: Adjust for uninstrumented code path.
......
// Test for CSE of the wrapper function: we should only call it once // Test for CSE of the wrapper function: we should only call it once
// for the two references to ir. // 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-options "-std=c++11 -O -fno-inline -save-temps" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-alias } // { dg-require-alias }
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// { dg-options "-std=c++11" } // { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-alias } // { dg-require-alias }
// { dg-require-cxa-atexit "" }
extern "C" void abort(); extern "C" void abort();
extern "C" int printf (const char *, ...); extern "C" int printf (const char *, ...);
......
// { dg-do run } // { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" } // { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
......
// { dg-do run } // { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" } // { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-alias } // { dg-require-alias }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread } // { dg-require-effective-target pthread }
// { dg-require-alias } // { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread } // { dg-options -pthread }
int c; int c;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread } // { dg-require-effective-target pthread }
// { dg-require-alias } // { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread } // { dg-options -pthread }
#include <pthread.h> #include <pthread.h>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-effective-target pthread } // { dg-require-effective-target pthread }
// { dg-require-alias } // { dg-require-alias }
// { dg-require-cxa-atexit "" }
// { dg-options -pthread } // { dg-options -pthread }
#include <pthread.h> #include <pthread.h>
......
// Test for cleanups in the main thread without -pthread. // Test for cleanups in the main thread without -pthread.
// { dg-do run } // { dg-do run { xfail *-*-solaris2.9 } }
// { dg-options "-std=c++11" } // { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// { dg-do run } // { dg-do run }
// { dg-options "-std=c++11" } // { dg-options "-std=c++11" }
// { dg-require-effective-target tls_runtime } // { dg-require-effective-target tls_runtime }
// { dg-require-cxa-atexit "" }
// { dg-require-alias } // { dg-require-alias }
extern "C" void _exit (int); extern "C" void _exit (int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment