https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70523
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is the effect of excess precision on i387, see PR333. You can either use -msse2 -mfpmath=sse if your CPU is capable of SSE2, or -fexcess-precision=standard for slower, but guaranteed excess precision according to target macros, or -ffloat-store for even slower behavior.