<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/148060>148060</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            -O3 -ffast-math causes test failure in gmplib-6.3.0
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          vburdo
      </td>
    </tr>
</table>

<pre>
    Steps to reproduce:
- configure gmplib-6.3.0 with following command line: ``configure ABI=64 CC=/path/to/clang-20 CFLAGS="-O3 -ffast-math -march=native -m64" --with-pic --disable-shared``
- ``make``
- ``make check``

Observe following failure
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsks1u3CAUhZ8GbxAWvv7JeMFiMiNXlSplkSe4wLVNg40FeEZ9-8qTtGmrrkAcDnyHA6bkppVIsfaZtdcC9zyHqG56jzYUOtgf6jXTlngOPNIWg90NsfrM5FlwE9bRTXskPi2bd1p0ZV1Kfnd55mPwPtzdOnETlgVXy71bDydnnWSd_PSen7-y-to1_HJh9ZXBsGGeGQw5MBiMx3USIPll-Hb-8vrYAOKl5mIcMWWxYJ65WDCamdXXFbO7ERdL1zAALsSBIjZnuBDWJdSeRJoxkn2HeKR4ny74Rv9d5GYm8_ZbYvL8ohPFG_0RcUTn90iFVbXt6x4LUtVTC9UJ-k4Ws2o1PEFLtgFElBaMherUVtqi0Sj7tnAKJLTyqZJQQQ-yPOm6tiP21WirFtuKNZIWdL70_raUIU6FS2knVTUn2cnCoyafHiUCrHTnD5UBHJ1GdZiE3qfEGuldyunzmOyyJ_XvixrcEyWeKeVf4bhb_6q52KNXc85bOr4DDAyGyeV516UJC4PhuOFjEFsM38lkBsODKzEYPsBvCn4GAAD__xyZx6k">