https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83497
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I really doubt inlining is causing the miscompiling, only exposing it ... And if I look at the difference, it looks more like a precision issue which -ffast-math exposes.