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

    <tr>
        <th>Summary</th>
        <td>
            With clang 20, compilation fails "error: overriding '-ffp-model=precise' option with '-ffp-contract=off' [-Werror,-Woverriding-option]"
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    Compile worked with clang 19. This might be an error rather than a warning for me because I have `-Werror` set.

I have not been able to find any discussion about this change. A search for "overriding ..." only turns up stuff from 2 to 4 years ago. Clearly not relevant to changes between clang 19 and 20.

Should I just change my compile option?  Does `-ffp-contract=off` give the identical behavior to `-ffp-model=precise`? We are trying to have deterministic results in our calculations.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsk0uvozgQhX-N2ZSCnOJ1s2BxO1GkXsxqRrrrwhTgbmNHfiTKvx-ZEN2Z0WxgQT3O-epAIejZMvei-SGaS0EpLs73f5D_fSZj3KMY3Pjsz269acPwcP43j_DQcQFlyM5wPJXw16IDrHpeIgwMZIG9dx48xYU9xIUsEDzIW21nmJyHlWFgRSkw_ISF7gyilYevrU20EgLHUsiLkJ-v515kXV7AFmgwDNHBpO0IZJ8w6qBSCNrlby5FiFmSWsjOXMInBCavlm23QHR39l6PWU1ZlgIRnDVPiMnbAOkGIaZpgsm7FTCvqeHJ5APQ7Eo4GyZvnpsYz4bvZGMuei0LMHB8ZI1vPEB2BJT_8vPn4pIZ4Sf8SiHunbA-Qe2Y3S1qZ0V1Bbg4DhudabodlLPRk4qiurhpyqRmfWeIC4Me2UatyMDAC92181nUu3F1IxtRXW6elQ4sWpmHfzGQZ4j-mVFE96I8cmS_aqtD1Ao8h2RiAG3BJQ-KjEqGsrywWyrGvhpP1YkK7o8d1m1bS9kUS89YTaeJ66E-ssJBDVUtj1R3NNVd-9GOhe5RYi0_sJUnlLIpG1UhnVpFHX5MXUWilrySNqUx97V0fi50CIn7o2xlIwtDA5uwRRdx4y0Qc4p9nxsOQ5qDqKXRIYbvEVFHw_3Xd4RRCjzv7DdnMJE2ISfllcjqE_4RGYHd_zLFbr_b6_d4l_3nZtiBaH68s47nw9f36MN-9-YiEIvkTb_EeAui-hR4FXiddVzSUCq3CrxmP_vrcPPuF6so8LrxCQKvO6J7j38HAAD__2bvSQ8">