<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/121927>121927</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang: bool EvaluateFloat(const clang::Expr*, llvm::APFloat&, {anonymous}::EvalInfo&): Assertion `E->isPRValue() && E->getType()->isRealFloatingType()' failed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wxie7
</td>
</tr>
</table>
<pre>
code
```c
void g() {
signed char c2 = (float __attribute__(()) _Atomic)0 + 1;
}
```
https://godbolt.org/z/n1T48fcf4
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckV2LozwUxz_N8SZMSU7U6EUu0mcqPHfDMOxtiTHaLKkpJnan--mXaIdZFgThnP9L-B0do5tmayVUR6heC72mS1jkr09nRdGH4SFNGCxQBTXdPwNU3YMbyATYALYExBGoImQLGoi56IUYJMBfCWAz-qATOZ91Sovr12TP582Xrdl9VilcnQFsKQE8EgY8x4F4_bsUqLqkdIvAFWAH2E1h6INPh7BMgN1vwG5mH2UzmrEsBsmHlre6sJIJXmNVCl4WF8kqy5rB9qKsNWe1sbStRV3hoMdxbAQrnESKFWVUMKyaqjyIFnlf05E32nI6IpTUXrXzB-_v19xduBhXKxmyFkXhdW993FAiGq_nCRAz1UVmw0u_ThFK6l1M8TsiueSt3OVckT4ET0537VedbJfpATYmzDGRLw1wdfq8LYAK8D-Sg_ahenvq6zwHcdRzmB_XsMaMc_fdtf9_HsOmaXOfitEuyYWZQE1PL8BPLr69_9B-tV8HztqabLvJpo_H7bnZxe9W-63XzdP3DlCQUTtvh2JdvPznei5d1v5gwhWw296__15uS_hpTQLsNrARsHuyvUv8EwAA__9BPso9">