------- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-24 04:51 ------- Actually no this is not really a "bug" in GCC, just your assumption about x87 fp math.
Anyways this is duplicate of bug 323. Adding -ffloat-store fixes the issue. *** This bug has been marked as a duplicate of 323 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c |rtl-optimization Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34951