[clang] [SystemZ] XFAIL for z/OS until TLS support is available (PR #233887)

Sean Perry via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 08:58:48 PDT 2026


https://github.com/perry-ca created https://github.com/llvm/llvm-project/pull/233887

The support for TLS isn't available on z/OS yet.  Mark the test as XFAIL for now.

>From 87764d568ab453143cab58a1dde8d168cd7a827b Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 20 Oct 2026 11:56:03 -0400
Subject: [PATCH] [SystemZ] XFAIL for z/OS until TLS support is available

---
 clang/test/Sema/c23-thread-local-definition.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/test/Sema/c23-thread-local-definition.c b/clang/test/Sema/c23-thread-local-definition.c
index cb5aeea2feb40..1efaa804ac7d6 100644
--- a/clang/test/Sema/c23-thread-local-definition.c
+++ b/clang/test/Sema/c23-thread-local-definition.c
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -std=c23 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -std=c17 -fsyntax-only -verify=pre23 %s
 // pre23-no-diagnostics
+// XFAIL: target={{.*}}-zos{{.*}}
 
 _Thread_local int a;     // expected-note {{previous definition is here}}
 _Thread_local int a;     // expected-error {{redefinition of 'a'}}



More information about the cfe-commits mailing list