[Nasm-bugs] [Bug 3392472] spurious "word data exceeds bounds" if (16-bit) near jump displacement has bit 8000h set

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sat Aug 17 05:26:12 PDT 2019


https://bugzilla.nasm.us/show_bug.cgi?id=3392472

--- Comment #3 from C. Masloch <pushbx at 38.de> ---
The fix causes a warning during compilation:

gcc -c  -g -O2 -fwrapv -U__STRICT_ANSI__ -fno-common -Werror=attributes
-ffunction-
sections -fdata-sections -fvisibility=hidden -Wall -W -pedantic
-Wc90-c99-compat -W
no-long-long -Wno-shift-negative-value -Werror=implicit -Werror=missing-braces
-Wer
ror=return-type -Werror=trigraphs -Werror=pointer-arith
-Werror=missing-prototypes
-Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I.
-I. -I
./include -I./include -I./x86 -I./x86 -I./asm -I./asm -I./disasm -I./disasm
-I./out
put -I./output -o asm/assemble.o asm/assemble.c
asm/assemble.c: In function ‘out’:
asm/assemble.c:379:23: warning: comparison between signed and unsigned integer
expr
essions [-Wsign-compare]
             if (asize < (data->bits >> 3))
                       ^

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