bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5138] New: Bit range mismatch in config/tc-cris.c


From: karvjorm at users dot sourceforge dot net
Subject: [Bug gas/5138] New: Bit range mismatch in config/tc-cris.c
Date: 7 Oct 2007 12:56:59 -0000

The following error message is a bit limited:

#: config/tc-cris.c:2110 config/tc-cris.c:2150
#, c-format
msgid "Immediate value not in 8 bit range: %ld"

source code:

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

In the source code is actually checked, if value is below -128 or above 255 and
range is then greater than 8 bits.

-- 
           Summary: Bit range 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=5138

------- 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]