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

    <tr>
        <th>Summary</th>
        <td>
            Flang does not support the -fno-expensive-optimizations flag
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang
      </td>
    </tr>

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

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

<pre>
    Trying to compile the DDFUN package from https://www.davidhbailey.com/dhbsoftware/ results in

```
flang-21: error: unknown argument: '-fno-expensive-optimizations'
```

I realize that there might be not applicable to Flang's optimization pipeline, but it'd be nice to have it for the sake of `gfortran` compatibility.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8ks2OpDgQhJ_GXFJVMuavOXCo3RbSXva0-wBpnIacNjayTdVUP_0IpqT5OYyUEshShiM-B6bEsycaRPOXaN4L3PMS4oAxhocpdDDP4b_4ZD9DDjCFdWNHkBeC9_fx_39hw-kDZwIbwwpLzlsS1U2oUajx8XhcDd7ZLBrZ0fM6hVWo0Sw6BZsfGEmoESKl3eUE7IW8HdPK18ibdejniypFdQOKMcTjZ_cfPjw8YJz3lXw-zoTqLtaHC33dyCe-0yVsmVf-xMzBJ6G635SFvP0DkdDx55EG8xEpEqw8Lxk0gQ8ZcNscT6iPwAHGw4xQXYKftWHjjRx7Eupv0HsGzkJ15pTg6Vxc8E7AGWyIJ7iEHwTBgmjlbEPMEb1o5ckWM2t2nJ_XwgyV6aseCxrKrum6vq77pliGqrK6wmbSSJWs0LamnmxbWvlWNrrrm4IHJVUj-7JSsqyb5vrW9GhUa1qrW9P3WtSSVmR3de6-XkOcC05pp6Fs3uqqLRxqcumsg1L2e2h1NCMOx8JF73MStXSccvohkTk7Gk5GYAKlE2Daty3Eky386X3AOpyLPbrh1wbNnJddv3pzXPX6XLYYvtCUhRpP60mo8eX-PqhvAQAA___nGe4m">