testsuite: vxworks: xfail thread_local-order2 execution

VxWorks doesn't support __cxa_thread_atexit, so XFAIL the test that
relies on it for correct destruction order of thread-local objects.


for  gcc/testsuite/ChangeLog

	* g++.dg/tls/thread_local-order2.C: XFAIL on VxWorks.
This commit is contained in:
Alexandre Oliva
2026-03-25 06:44:59 -03:00
committed by Alexandre Oliva
parent f4fae14124
commit fa47b64d6e

View File

@@ -6,7 +6,7 @@
// { dg-require-effective-target c++11 }
// { dg-add-options tls }
// { dg-require-effective-target tls_runtime }
// { dg-xfail-run-if "" { { hppa*-*-hpux* *-*-solaris* } || { newlib } } }
// { dg-xfail-run-if "" { { hppa*-*-hpux* *-*-solaris* *-*-vxworks* } || { newlib } } }
extern "C" void abort();
extern "C" int printf (const char *, ...);