http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53131
Bug #: 53131
Summary: -Wlogical-op: ready for prime time in -Wall ?
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
I am somewhat surprised that -Wlogical-op isn't part of either -Wall
or possibly -Wextra.
I've just tried -Wlogical-op out on a build of a recent Linux kernel
and 90 warnings are produced, so there is some evidence that
it would be useful.