This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/80085] missing -Wlogical-op on a superfluous second operand of &&
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Mar 2017 17:01:09 +0000
- Subject: [Bug c/80085] missing -Wlogical-op on a superfluous second operand of &&
- Auto-submitted: auto-generated
- References: <bug-80085-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80085
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=60759,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=69602,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=71472
Resolution|--- |DUPLICATE
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bug 71472 seems pretty close but it's about ||.
Bug 69602 had some discussion recently but it's about what's viewed as a false
positive by some, while this one is a false negative.
I also found bug 60759 but that one is about implicit int to bool conversion,
so it's not quite the same either.
But I think I've finally found it: bug 70631. Thus resolving as duplicate of
that one.
*** This bug has been marked as a duplicate of bug 70631 ***