diff options
author | Richard Biener <rguenth@gcc.gnu.org> | 2011-08-24 11:16:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-08-24 11:16:57 +0000 |
commit | 0e3fdb489ed8d587a6f759b62966d7971e51bdf1 (patch) | |
tree | 84a2c75ddc2f2ba703e490ce9a1036aee237e0e8 /gcc/c-family/c-cppbuiltin.c | |
parent | 6f0faeed90df749f62e563510c338a91ff133a33 (diff) | |
download | gcc-0e3fdb489ed8d587a6f759b62966d7971e51bdf1.zip gcc-0e3fdb489ed8d587a6f759b62966d7971e51bdf1.tar.gz gcc-0e3fdb489ed8d587a6f759b62966d7971e51bdf1.tar.bz2 |
re PR c/49396 (c-family/c-cppbuiltin.c: duplicate if expressions)
2011-08-24 Richard Guenther <rguenther@suse.de>
PR c/49396
c-family/
* c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
From-SVN: r178032
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-family/c-cppbuiltin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index a960cbe..bb9893a 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -560,7 +560,7 @@ c_cpp_builtins_optimize_pragma (cpp_reader *pfile, tree prev_tree, 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"); |