From: Eric Botcazou Date: Mon, 19 Nov 2012 18:57:31 +0000 (+0000) Subject: thread_local-order1.C: Add dg-require-cxa-atexit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f4340fe3b4c1e6d5f0837470b049b44c105bc99;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f706c43ae68..e5bafaa7825 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2012-11-19 Eric Botcazou + + * 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 * 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 29553d2ba7e..e3b13787d4d 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 6557e938c79..70e71bfab33 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 4cbef155ead..7e5f41e8f67 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 36451d2db50..dd057c4dac0 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 d5e83e86f73..2f2888baeeb 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 574d2671481..59041867c2d 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 diff --git a/gcc/testsuite/g++.dg/tls/thread_local5g.C b/gcc/testsuite/g++.dg/tls/thread_local5g.C index badab4fa641..0fb6ceaac5e 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 diff --git a/gcc/testsuite/g++.dg/tls/thread_local6.C b/gcc/testsuite/g++.dg/tls/thread_local6.C index 118969ae1b3..dcbcef59665 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 ff8d608e538..3a680fb5eb8 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);