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

            Bug ID: 72713
           Summary: boehm-gc/pthread_support.c:687: suspicious expression
                    ?
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: boehm-gc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

boehm-gc/pthread_support.c:687]: (style) Boolean result is used in bitwise
operation. Clarify expression with parentheses.

Source code is

     if (marker_sp[i] > lo & marker_sp[i] < hi) return 1;

Maybe better code

     if (marker_sp[i] > lo && marker_sp[i] < hi) return 1;

Reply via email to