[Bug gdb/18119] New: gas/config/tc-arm.c:8874: bad if expression ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18119] New: gas/config/tc-arm.c:8874: bad if expression ?

maiku.fabian at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18119

            Bug ID: 18119
           Summary: gas/config/tc-arm.c:8874: bad if expression ?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com

[binutils-gdb/gas/config/tc-arm.c:8874]: (style) Expression '(X & 0xf0000) !=
0xf000' is always true.

      if (((br & 0x200) == 0) && ((br & 0xf0000) != 0xf000))

Looks like a typo to me.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18119] gas/config/tc-arm.c:8874: bad if expression ?

maiku.fabian at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18119

--- Comment #1 from dcb <dcb314 at hotmail dot com> ---
Still broken a few years later:

config/tc-arm.c:9161:50: warning: bitwise comparison always evaluates to true
[-Wtautological-compare]

--
You are receiving this mail because:
You are on the CC list for the bug.