https://sourceware.org/bugzilla/show_bug.cgi?id=22213

            Bug ID: 22213
           Summary: binutils-2.29.1/gold/sparc.cc:4168]: (style)
                    Mismatching assignment and comparison
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dcb314 at hotmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

binutils-2.29.1/gold/sparc.cc:4167] -> [binutils-2.29.1/gold/sparc.cc:4168]:
(style) Mismatching assignment and comparison, comparison 'reg==15' is always
false.

Source code is

      reg = (delay_insn >> 14) & 0x15;
      if (reg == 15)
        return;

0x15 is a strange mask. Perhaps 0x1F was intended ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to