<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110383>110383</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ARM] clang silently switches to the soft-float ABI if an FPU-less CPU is specified for a hard-float target
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
chrisnc
</td>
</tr>
</table>
<pre>
In GCC, this is treated as an error, because the chosen CPU cannot implement the ABI that has been requested.
https://godbolt.org/z/89YGKW79P
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxc0EGL2zwQBuBfI1-GBFm21_HBh2wWL8vHB6GwlB7H0thSUaxUM96y_fXFbqDQi3QYXmneB5nDvBD1qnlWzUuBq_iUe-tz4MUWY3Kf_dsCr5eLMhcQHxgCg2RCIQfIgAtQzilv45EsrkwgnsD6xLTA5foOFpclCYTbPdKNFtnn5-c3EI8CHhlGogUy_ViJhdxR6Relz39OL3JnVZ2VGZQZ5uTGFOWY8qzM8EuZ4dR9e_3va9tdC9dXrqs6LKgvW9M2TV3XbeF7XZMxtiWnEVGPdeueDDXNqKtyGlucitAbbWrdmZPRZa3bI3Z101aWHKF7eipPqtZ0wxCPMX7ctr-LwLxSX5a6OlVFxJEi74LG2IjLrIzZMHO_BQ7jOrOqdQws_PcJCRJ39vOX_1XzAnsQOERaJH4C_wxiPTFI2r04TXKYYkLZ6cK0yQ_X90Mk5p05MPCdbJgCOZhSBgSP2T1CgnkmKdYc-39Ig_h1PNp0U2bYtntch3tO38mKMsPelpUZHoU_evM7AAD__6nHtvQ">