I don't believe this test is fixable on hpux due to the way destructors are handled on hpux. Test used to be xfailed everywhere.
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net
2017-02-18 John David Anglin <dang...@gcc.gnu.org> * g++.dg/tls/thread_local-order2.C: xfail on hppa*-*-hpux*. Index: g++.dg/tls/thread_local-order2.C =================================================================== --- g++.dg/tls/thread_local-order2.C (revision 245405) +++ g++.dg/tls/thread_local-order2.C (working copy) @@ -6,7 +6,7 @@ // { dg-require-effective-target c++11 } // { dg-add-options tls } // { dg-require-effective-target tls_runtime } -// { dg-xfail-run-if "" { *-*-solaris* } } +// { dg-xfail-run-if "" { hppa*-*-hpux* *-*-solaris* } } extern "C" void abort(); extern "C" int printf (const char *, ...);