diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-11-19 18:57:31 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-11-19 18:57:31 +0000 |
commit | 5f4340fe3b4c1e6d5f0837470b049b44c105bc99 (patch) | |
tree | 2c7ed39fa13917b2c907d2c5d812023a64dfcbb4 | |
parent | b5e10eac5663910ecc0b40610673852daf975303 (diff) | |
download | gcc-5f4340fe3b4c1e6d5f0837470b049b44c105bc99.zip gcc-5f4340fe3b4c1e6d5f0837470b049b44c105bc99.tar.gz gcc-5f4340fe3b4c1e6d5f0837470b049b44c105bc99.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local-cse.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local-order1.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local2.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local2g.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local3g.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local4g.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local5g.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local6.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tls/thread_local6g.C | 1 |
10 files changed, 21 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f706c43..e5bafaa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/g++.dg/tls/thread_local-cse.C b/gcc/testsuite/g++.dg/tls/thread_local-cse.C index 29553d2..e3b1378 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-cse.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-cse.C @@ -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 } diff --git a/gcc/testsuite/g++.dg/tls/thread_local-order1.C b/gcc/testsuite/g++.dg/tls/thread_local-order1.C index 6557e93..70e71bf 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local-order1.C +++ b/gcc/testsuite/g++.dg/tls/thread_local-order1.C @@ -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 *, ...); diff --git a/gcc/testsuite/g++.dg/tls/thread_local2.C b/gcc/testsuite/g++.dg/tls/thread_local2.C index 4cbef15..7e5f41e 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local2.C +++ b/gcc/testsuite/g++.dg/tls/thread_local2.C @@ -1,4 +1,4 @@ -// { dg-do run } +// { dg-do run { xfail *-*-solaris2.9 } } // { dg-options "-std=c++11" } // { dg-require-effective-target tls_runtime } diff --git a/gcc/testsuite/g++.dg/tls/thread_local2g.C b/gcc/testsuite/g++.dg/tls/thread_local2g.C index 36451d2..dd057c4 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local2g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local2g.C @@ -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 } diff --git a/gcc/testsuite/g++.dg/tls/thread_local3g.C b/gcc/testsuite/g++.dg/tls/thread_local3g.C index d5e83e8..2f2888b 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local3g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local3g.C @@ -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; diff --git a/gcc/testsuite/g++.dg/tls/thread_local4g.C b/gcc/testsuite/g++.dg/tls/thread_local4g.C index 574d267..5904186 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local4g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local4g.C @@ -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> diff --git a/gcc/testsuite/g++.dg/tls/thread_local5g.C b/gcc/testsuite/g++.dg/tls/thread_local5g.C index badab4f..0fb6cea 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local5g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local5g.C @@ -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> diff --git a/gcc/testsuite/g++.dg/tls/thread_local6.C b/gcc/testsuite/g++.dg/tls/thread_local6.C index 118969a..dcbcef5 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local6.C +++ b/gcc/testsuite/g++.dg/tls/thread_local6.C @@ -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 } diff --git a/gcc/testsuite/g++.dg/tls/thread_local6g.C b/gcc/testsuite/g++.dg/tls/thread_local6g.C index ff8d608..3a680fb 100644 --- a/gcc/testsuite/g++.dg/tls/thread_local6g.C +++ b/gcc/testsuite/g++.dg/tls/thread_local6g.C @@ -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); |