This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 i386 code generation problem with leal
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Brad Lucier <lucier at math dot purdue dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Apr 2003 15:46:42 +0930
- Subject: Re: 3.4 i386 code generation problem with leal
- References: <200304040436.h344aJ4A019808@banach.math.purdue.edu>
On Thu, Apr 03, 2003 at 11:36:19PM -0500, Brad Lucier wrote:
> library.s: Assembler messages:
> library.s:52511: Error: suffix or operands invalid for `lea'
>
> The offending instruction is
>
> leal 28(%ebp), %esi
I disbelieve. There's nothing wrong with the above. Unless of course
you've managed to put the assembler into 16- or 64-bit mode, in which
case the message would be different.
--
Alan Modra
IBM OzLabs - Linux Technology Centre