<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70198>70198</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Backport 66f4a1399d7de3d38312a5b251d4f8acd75237ca to 17.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AaronBallman
</td>
</tr>
</table>
<pre>
This is a pretty serious issue with `thread_local` in C23 mode where it gets the C++ semantics rather than C's `_Thread_local` semantics.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckM-O3CAMh5-GXNBGYPL3wGFnq3mCva8c8ARaEkbgdLpvX2VatdKekLD9-ecPa43rTmRFfxH9twYPDrnYVyx5v2BKG-7Nkv2nfQ-xylglynsh5k9ZqcR8nH_1IPmIHKQYFIdC6D9SdpjEoGTc5RsYuWVP8hGokIwsV-IqOZB8E3ARcJGVNtw5uioLcqAiOeB-Vsd6Qj_ev1D_9beNt8bPZsaGrB7mCUw3qbEJFrFXbl5w9otZnFY3TU5BB94or_wyNNGCAqMV9Fr3BsZ2UDTpGxHcpmkcpkF0ijaMqU3p59bmsjbPU-2o9Dw1CRdK9akNYKfHHw8C4LRY7DnzshxrFZ1KsXL9T-HIiewF3Y97LiyH4dahNvPsR0_Gm8lowH6BXvvuNqHzYw9mdCg5Sz22v5qjJBuY71WYVwFXAdc1cjiW1uVNwPXc8_d5uZf8nRwLuD7TVQHXZ_rfAQAA__9Rj5_9">