[Bug c/49706] No warning for (!x > 1) which is always false
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 18 04:11:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49706
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=49474
--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #6)
> -Wlogical-not-parentheses is in, but I'm not marking this as fixed yet as we
> don't warn for #c2. Maybe I will look at it, but unassigning for now.
What flag should the case in comment 2 go under? -Wtype-limits? -Wbool-compare?
-Wtautological-compare? Something else?
More information about the Gcc-bugs
mailing list