bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/22213] New: binutils-2.29.1/gold/sparc.cc:4168]: (style) Misma


From: dcb314 at hotmail dot com
Subject: [Bug gold/22213] New: binutils-2.29.1/gold/sparc.cc:4168]: (style) Mismatching assignment and comparison
Date: Tue, 26 Sep 2017 13:08:49 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]