https://gcc.gnu.org/g:9e9e4e7cee4f9e258844fbf2f84cff7dca74a279

commit 9e9e4e7cee4f9e258844fbf2f84cff7dca74a279
Author: Alexandre Oliva <[email protected]>
Date:   Fri Mar 13 00:30:35 2026 -0300

    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.

Diff:
---
 gcc/testsuite/g++.dg/tls/thread_local-order2.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/tls/thread_local-order2.C 
b/gcc/testsuite/g++.dg/tls/thread_local-order2.C
index d274e8c60654..eac7d9e4e35e 100644
--- a/gcc/testsuite/g++.dg/tls/thread_local-order2.C
+++ b/gcc/testsuite/g++.dg/tls/thread_local-order2.C
@@ -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 *, ...);

Reply via email to