<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/101902>101902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang 18 crash
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zamazan4ik
</td>
</tr>
</table>
<pre>
Hi!
I was trying to build Redpanda with PGO: https://github.com/redpanda-data/redpanda/issues/7945 . Unfortunately, during the compilation process, I met a compiler error. Here are the details: https://gist.github.com/zamazan4ik/3662a9c786580986d24b31ed8ece951c
Arguments: https://gist.github.com/zamazan4ik/68c73bbf87abb830a3ae070e124098ce
The preprocessed source file is also attached (just replace `.txt` with `.cpp`.
[file.txt](https://github.com/user-attachments/files/16488654/file.txt)
OS: Fedora 40
If you need additional information for reproduction, just let me know. Thank you.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU8uu3DYM_Rp5Q4whyy9p4cUkF26yStGmH0BLnLFyZcuQ5NxOvr6QZ4BMgOIC2ZgQTR4-ziHGaK8r0cDaD6x9KXBPsw_DD1zwB66NfS0mb27DJ8tExfgL4-f79zO8YYQUbna9QvIw7dYZ-IvMhqtBeLNphj__-MLqM8wpbZHVZyZGJsarTfM-ldovTIzhEX8ymPDpzcRoY9wpMjH2qmmhhH_Wiw9pXzGRuzHxEcwejtozgfbLZh0m61fYgtcUY474DAslwMdvCkAh-FDCJwoEGOjINZTQuvh_jcZU_tLtz6UwMdZdJ1DpXnat5Ep2RjRTXZGRpEm1lX5e1jlc94XW9PtVOqn7epoussdpkjXHGon3nCrRcCU13fG_zgRboMfoZCD6PWiCi3UENgK66AFTQj2TASbktz0mCLQ51ASs42X6N7GO32nLb71t2TwPwdoPGe8IbV-YkO_wukcKp3vB-9xizLnZVl0jZdc2D9cBJ9RzoS9_5zWNZHxAaPgvqrvAze-wEhlAY2xmHB3YrI3lzv_FBzhWYXadHVkIx7iOEiwEr6t_K-HrjOtrxioLM9RG1QoLGqpeiF7JVopiHmrVGjR66mXdyalD5F2jFHKatOC90oUdBBcNl7ypFFeNKBHruu1aZeQktaxa1nBa0LrSue9L6cO1OEQ9VLxSXBQOJ3LxODwhtMP1yoTINxiGnHCa9mtkDXc2pvgTItnkaPiYw6GSoAPGudiDG96hIyc_zGkL_hvp9Hxhj36-D-K_AAAA__-m40jk">