<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90454>90454</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang frontend command failed with exit code 139 or SIGSEGV (in other variant)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vova7878
</td>
</tr>
</table>
<pre>
Code causing the crash:
https://godbolt.org/z/GYnh4En78
Under #if there are two variants of code that cause different error messages
Clang can't handle code like this:
`template <...> using ... = struct __attribute__((packed)) alignas(...) {...};`
Without a tamplate compiler just says the code is incorrect
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcks1u7DYMhZ-G3hAxbMke2wsvkkwm6Dpoi64GtEXbSjTSQKInTZ--8Djtvbgb_QDEd3jIQynZ2TP3UD9BfcxolSXE_hZu1LRNmw3BfPXPwTCOtCbrZ5SFcYyUFtCPUByheFxErmn7qROo0xzMEJzkIc6gTv-AOr3-5ZfqxTftXr6fv3vDEUFpO23IyEiRUT4D3iha8pIwTDhuyrKQ3OUZjZ0mjuwFOcYQ8cIp0czpZ_KzIz_jSB5UI7iQN453kLMfG82m_1uHQyF8uToSRtDPeZ6DfsHdaJ7nCPqISeI6Cp7PJBLtsAqfz6BaUO2Vxg82oDpQHZKzs6cEqt0oqkNonrZXcwT9BIdiF_zTyhJWQUKhb90xXK7WccT3NQkm-kr7jLeObULrxxAjj5KZXptOd5RxXzZlpduuqcts6akpivZwIDUMPJEudNmVtdZaVwXXk6kz26tCVUWlurJUSpc5jQ0bM41dXZm25Q6qgi9kXe7c7bJtLrMprdx3RVVXmaOBXbonRKlxmy4otYUl9lv9w7DOCarC2STpB0GsOO73ZUwxeGFvNq8X8gYnso4NflpZkP-2srstdYch4ttvr28vr38gqNZ6DFs6_gsFqC5bo-t_iZyVZR3yMVxAnbYGvq-HawzvPAqo091PAnW6W_o3AAD__7z38IA">