diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-05-19 19:29:27 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-05-19 19:29:27 +0000 |
commit | 7bb2707483aa15ff5a10bf0b3806dbdfc968aa0c (patch) | |
tree | da21b8046b41e52d456908fb3208a1f6cd4c76f1 /gcc/c.opt | |
parent | 5aefc6a0f02fd484d40a5704ab0284409f59bda7 (diff) | |
download | gcc-7bb2707483aa15ff5a10bf0b3806dbdfc968aa0c.zip gcc-7bb2707483aa15ff5a10bf0b3806dbdfc968aa0c.tar.gz gcc-7bb2707483aa15ff5a10bf0b3806dbdfc968aa0c.tar.bz2 |
re PR c/40172 (Revision 147596 breaks bootstrap)
2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/40172
gcc/
* c.opt (Wlogical-op): Disabled by default.
* c-opt (c_common_post_options): Do not enable Wlogical-op with
Wextra.
* doc/invoke.texi (Wlogical-op): Likewise.
testsuite/
* gcc.dg/pr40172.c: Add -Wlogical-op to dg-options.
From-SVN: r147717
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -285,7 +285,7 @@ C ObjC C++ ObjC++ Warning Warn about PCH files that are found but not used Wlogical-op -C ObjC C++ ObjC++ Var(warn_logical_op) Init(-1) Warning +C ObjC C++ ObjC++ Var(warn_logical_op) Init(0) Warning Warn when a logical operator is suspiciously always evaluating to true or false Wlong-long |