<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125078>125078</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang] `alloc_align` attribute crashes if applied to a function pointer
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MacDue
</td>
</tr>
</table>
<pre>
Reproducer:
```
void aa_fn_ptr(int* (*member)(int) __attribute__((alloc_align(1))));
```
Compile with clang (any options)
CE: https://godbolt.org/z/14zxWYdM4
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckU9vnDAQxT_NcLGyMsNfHziQbLnl0kvVEzL2LLgyNrLNtsmnryBJG0UaiQPz_Ob9nozRzI6og-oRqmsm97T40D1Ldd0pm7x-6b7TFrzeFQUoeuA91Px9eH_3RjMpx5sbtxQAW-MSYM8AW8B-pXWiACg-fgg2jjKlYKY90TieW6201qtRWjM7wDY_1z-mePxi-OTXzVhiv01amLLSzYeXdC_Mb8l4Fw8VP858-gZFz5aUtnjcjQPgMHs9eZsuPsyAwyvgkJevf3781M9lprtCi0LIjLq8KVqssKl4tnRa1o1oJiGKttRc5PlNNHkjiCtBnJTMTIccK54XPK8qkfMLV6IuuWpr1cimbhSUnFZp7MXa-3p4ZybGnbocK960mZUT2XgWgHhGgqK_Be8SOQ2IRy2hO7QP0z5HKLk1McX_ryWT7Fngm7i6Mqj5Z6o1Z_-oMxVkXCgyc2Ny26whzZJnkt12pw6CbPPGJQrZHmz3BZ9Jyz5dlF8Bh8P-_fOwBf-LVAIczmTxAPsW7t7h3wAAAP__dhW8Tg">