http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49396
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.06.14 12:47:55 CC| |jsm28 at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-14 12:47:55 UTC --- I think it should be Index: c-family/c-cppbuiltin.c =================================================================== --- c-family/c-cppbuiltin.c (revision 175011) +++ c-family/c-cppbuiltin.c (working copy) @@ -559,7 +559,7 @@ c_cpp_builtins_optimize_pragma (cpp_read cpp_undef (pfile, "__FINITE_MATH_ONLY__"); cpp_define (pfile, "__FINITE_MATH_ONLY__=1"); } - else if (!prev->x_flag_finite_math_only && cur->x_flag_finite_math_only) + else if (prev->x_flag_finite_math_only && !cur->x_flag_finite_math_only) { cpp_undef (pfile, "__FINITE_MATH_ONLY__"); cpp_define (pfile, "__FINITE_MATH_ONLY__=0"); Joseph?