https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82240

            Bug ID: 82240
           Summary: i386.md & -Wlogical-op in build
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just tried to build today's gcc trunk with flag -Wlogical-op 
and it said

../../trunk/gcc/config/i386/i386.md:20027:36: warning: logical ‘or’ of
collectively exhaustive tests is always true [-Wlogical-op]
../../trunk/gcc/config/i386/i386.md:21212:36: warning: logical ‘or’ of
collectively exhaustive tests is always true [-Wlogical-op]

but

$ wc -l ../trunk/gcc/config/i386/i386.md
19763 ../trunk/gcc/config/i386/i386.md
$ 

I am not sure where the source code with the fault is.

Reply via email to