Disable `-fasm-shortcutting` on -O2 and warn about its usage.
This flag is known to result in unsound optimisations potentially resulting in incorrect runtime behaviour (#24462).
parent
1b1a92bd
No related branches found
No related tags found
Pipeline #92928 canceled
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Driver/Config/CmmToAsm.hs 2 additions, 1 deletioncompiler/GHC/Driver/Config/CmmToAsm.hs
- compiler/GHC/Driver/DynFlags.hs 2 additions, 1 deletioncompiler/GHC/Driver/DynFlags.hs
- compiler/GHC/Driver/Session.hs 2 additions, 1 deletioncompiler/GHC/Driver/Session.hs
- docs/users_guide/bugs.rst 3 additions, 0 deletionsdocs/users_guide/bugs.rst
- docs/users_guide/using-optimisation.rst 4 additions, 1 deletiondocs/users_guide/using-optimisation.rst
Loading
Please register or sign in to comment