[Bug fortran/62270] -Wlogical-not-parentheses warnings
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 17:32:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62270
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
You can see these errors if you try to bootstrap gcc with this patch:
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index d619250..d84b9fe 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -519,7 +519,7 @@ C ObjC C++ ObjC++ Var(warn_logical_op) Init(0) Warning
Warn when a logical operator is suspiciously always evaluating to true or
false
Wlogical-not-parentheses
-C ObjC C++ ObjC++ Var(warn_logical_not_paren) Warning
+C ObjC C++ ObjC++ Var(warn_logical_not_paren) Warning LangEnabledBy(C ObjC C++
ObjC++,Wall)
Warn when logical not is used on the left hand side operand of a comparison
Wlong-long
More information about the Gcc-bugs
mailing list