bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5026] New: Displaying Truncated Values Incorrectly


From: evandro dot menezes at amd dot com
Subject: [Bug gas/5026] New: Displaying Truncated Values Incorrectly
Date: 12 Sep 2007 20:01:56 -0000

When defining a constant too long for the size specified, the warning message
itself may truncate the original value on some platforms.

For example, this code:

.word   0x1234567890

On x86-64, GAS correctly displays:

****  Warning:value 0x1234567890 truncated to 0x7890

Whereas on x86, GAS displays:

****  Warning:value 0x34567890 truncated to 0x34567890

It should be easy to fix it by making sure that the longest integer is used (see
attachment).

-- 
           Summary: Displaying Truncated Values Incorrectly
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: evandro dot menezes at amd dot com
                CC: bug-binutils at gnu dot org


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

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