[Nasm-bugs] [Bug 3392391] New: Incorrect warning: dword data exceeds bounds
no-reply at bugzilla-nasm.gorcunov.org
no-reply at bugzilla-nasm.gorcunov.org
Tue Mar 28 08:19:37 PDT 2017
https://bugzilla.nasm.us/show_bug.cgi?id=3392391
Bug ID: 3392391
Summary: Incorrect warning: dword data exceeds bounds
Product: NASM
Version: unspecified
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: henrik at gramner.com
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
An overflow warning is produced when using an address consisting of a 32-bit
register with a negative offset below -128 (e.g. it doesn't fit in a signed
byte).
The correct output (with a 4-byte offset) is produced, so it's just the warning
that's wrong.
Minimal test case:
lea eax, [eax-129]
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list