bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5139] New: Another bit range checking mismatch in config/tc-cri


From: karvjorm at users dot sourceforge dot net
Subject: [Bug gas/5139] New: Another bit range checking mismatch in config/tc-cris.c
Date: 7 Oct 2007 13:06:29 -0000

#: config/tc-cris.c:2120 config/tc-cris.c:2171
#, c-format
msgid "Immediate value not in 16 bit range: %ld"

The error message above is not quite correct, because range -32768...65535 is a
bit greater than 16 bits.

if (instruction->imm_oprnd_size == SIZE_FIELD
  && (out_insnp->expr.X_add_number < -32768
    || out_insnp->expr.X_add_number > 65535))
      as_bad (_("Immediate value not in 16 bit range: %ld"),

-- 
           Summary: Another bit range checking mismatch in config/tc-cris.c
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: karvjorm at users dot sourceforge dot net
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5139

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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