[Bug c/53131] New: -Wlogical-op: ready for prime time in -Wall ?

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 26 20:18:00 GMT 2012


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: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


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.



More information about the Gcc-bugs mailing list