https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103030
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|WAITING |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is just an artifact of x87 and how everything is done in 80bit fp and sometimes you get different answers than you are expected. If SSE2 is turned on, then the integer to fp conversion happens in the SSE2 unit and is converted to 64bit fp before the conversion. Again this is not really a bug, but a partial misunderstanding of floating point and how x87 floating point works. *** This bug has been marked as a duplicate of bug 323 ***