#: 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to