bug-binutils
[Top][All Lists]
Advanced

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

binutils-2.21.53.0.2/gas bug report


From: David Binderman
Subject: binutils-2.21.53.0.2/gas bug report
Date: Fri, 21 Oct 2011 20:46:23 +0000


Hello there,

I just ran the static analysis tool cppcheck over the source
code of binutils-2.21.53.0.2. It said

1.

[binutils-2.21.53.0.2/gas/config/tc-mn10200.c:483]: (warning) Redundant assignment of "opcode" in switch

The source code is

    case 0xff:
      opcode = 0xfe;
    case 0xe8:

There looks to be a missing break in there.

2.

[binutils-2.21.53.0.2/gas/config/tc-mn10200.c:563]: (warning) Redundant assignment of "opcode" in switch

Duplicate.

Regards

David Binderman


reply via email to

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