]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: vxworks: xfail thread_local-order2 execution
authorAlexandre Oliva <oliva@adacore.com>
Wed, 25 Mar 2026 09:44:59 +0000 (06:44 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 25 Mar 2026 09:44:59 +0000 (06:44 -0300)
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.

gcc/testsuite/g++.dg/tls/thread_local-order2.C

index d274e8c606542893f8a792469e075056793335ea..eac7d9e4e35ef7bda98ce84653b059b14ae16cb9 100644 (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 *, ...);