3.4 i386 code generation problem with leal

Brad Lucier lucier@math.purdue.edu
Fri Apr 4 04:36:00 GMT 2003


With

gcc -v
Reading specs from /usr/local/gcc-3.4/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: ../configure --prefix=/usr/local/gcc-3.4 --enable-languages=c --disable-checking
Thread model: posix
gcc version 3.4 20030403 (experimental)

and the latest gnu binutils, I get the following message when trying to compile

http://www.math.purdue.edu/~lucier/library.i.gz

with

gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME=\"/usr/local/chicken-1.0/lib/chicken\" -DC_USE_C_DEFAULTS -DC_NO_PIC_NO_DLL -DC_BUILDING_LIBCHICKEN -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c library.c -fPIC -DPIC -o .libs/libchicken_la-library.lo -save-temps
library.s: Assembler messages:
library.s:52511: Error: suffix or operands invalid for `lea'

The offending instruction is

	leal	28(%ebp), %esi

Brad



More information about the Gcc-bugs mailing list