https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-12-08 Ever confirmed|0 |1 --- Comment #3 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #2) > (In reply to Bernard Ogden from comment #1) > > Created attachment 34218 [details] > > -v output > > Hmm, I get the good sequence: > ldr d1, .LC0 > fmul d1, d0, d1 > fmul d0, d1, d0 > > with current FSF 4.8.4, 4.9.3 and latest 5.0 with just -O1 without having to > specify -funsafe-math-optimisations or -ffast-math Ah wait, sorry, I misread the report. The problem is that -funsafe-math-optimisations introduces that call to pow instead of doing the mults. Confirmed.