This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 i386 code generation problem with leal


Brad Lucier <lucier at math dot purdue dot edu> writes:

> Anyway, can someone try to compile the actual file I used and if it works
> for you, I'll start trying system-level things rather than installing
> newer versions of the software.

I tried with:

arthur:~:[0]$  /opt/gcc/3.4-devel/bin/gcc --version
gcc (GCC) 3.4 20030404 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

arthur:~:[0]$ as --version
GNU assembler 2.13.90.0.18 20030121 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-suse-linux'.

and get the same error:
rthur:~/tmp:[1]$ /opt/gcc/3.4-devel/bin/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.i -fpreprocessed -fPIC -DPIC -o libchicken_la-library.lo 
/tmp/ccb1GpE4.s: Assembler messages:
/tmp/ccb1GpE4.s:52511: Error: suffix or operands invalid for `lea'

But that line is:
   52511         leal    $1196+lf at GOTOFF, %esi

And this looks really broken,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj at suse dot de
   private aj at arthur dot inka dot de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]