https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70361
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=71852 --- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Patrick Palka from comment #2) > Maybe the new -Wtautological-compare flag could be extended to warn about > these kinds of conditionals. Maybe Marek Polacek's enhancements to it could be relevant here? See also bug 71852