https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98607
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The problem isn't inlining, but the fact that the rounding mode isn't modeled in the IL, with dependencies between changing of that (or function calls that could have changed it) and all the floating point arithmetic operations that can be affected by that. So, one needs to use explicit optimization barriers (inline asm, separate functions with disabled inlining, etc.).