http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52326
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Status|UNCONFIRMED |NEW Known to work| |4.5.3, 4.7.0 Keywords| |wrong-code Last reconfirmed| |2012-02-21 Component|c |rtl-optimization Ever Confirmed|0 |1 Summary|float result incorrect with |[4.6 Regression] float |-O1 and calling external |result incorrect with -O1 |function. |and calling external | |function. Target Milestone|--- |4.6.3 Known to fail| |4.6.0, 4.6.2 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-21 13:20:34 UTC --- Confirmed. foo.c is unrelated and can be compiled with -O0. Works with 4.5.3, fails with 4.6.0 already, works with 4.7. The tree level looks good to me.