https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61169
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- You want -ffast-math, or more specificall -fassociative-math. Re-association can change FP values which is not allowed and the first expression is (d * x) * x.