x86 asm bug in binutils 2.9.1.0.4
H.J. Lu
hjl@lucon.org
Thu Jul 2 15:15:00 GMT 1998
>
> Hi,
>
> Compiling Lesstif-0.85 on my x86 box with egcs 19980608 snapshot gives me:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/Motif-1.2
> -I../../include/Motif-1.2 -I../../include -I../../include -I/usr/X11R6/include
> -g -Wall -DNONSTANDARD_CONVERTERS -DLESSTIF_VERBOSE -s -fPIC -DPIC Visual.c
> Visual.c: In function `_XmRegisterPixmapConverters':
> Visual.c:1220: warning: type defaults to `int' in declaration of `inited'
> Visual.c: At top level:
> Visual.c:25: warning: `rcsid' defined but not used
> /tmp/cca22201.s: Assembler messages:
> /tmp/cca22201.s:3886: Error: operands given don't match any known 386
> instruction
> /tmp/cca22201.s:3925: Error: operands given don't match any known 386
> instruction
> /tmp/cca22201.s:4020: Error: operands given don't match any known 386
> instruction
> /tmp/cca22201.s:4059: Error: operands given don't match any known 386
> instruction
> /tmp/cca22201.s:4154: Error: operands given don't match any known 386
> instruction
> /tmp/cca22201.s:4193: Error: operands given don't match any known 386
> instruction
>
> Which turns to come from:
>
> syl@holiday:~/lesstif-0.85/lib/Xm> grep -n fistll Visual.s
> 3886: fistll -72(%ebp)
> 3925: fistll -72(%ebp)
> 4020: fistll -72(%ebp)
> 4059: fistll -72(%ebp)
> 4154: fistll -72(%ebp)
> 4193: fistll -72(%ebp)
"fistll -72(%ebp)" is illegal. Please send me a small testcase
to show the egcs bug.
H.J.
More information about the Gcc
mailing list