From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11761 invoked by alias); 8 Apr 2003 09:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 11747 invoked by uid 71); 8 Apr 2003 09:06:01 -0000 Date: Tue, 08 Apr 2003 09:06:00 -0000 Message-ID: <20030408090601.11745.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Vladimir Merzliakov" Subject: Re: target/10327: [3.4 regression] i386 code generation problem with leal Reply-To: "Vladimir Merzliakov" X-SW-Source: 2003-04/txt/msg00328.txt.bz2 List-Id: The following reply was made to PR target/10327; it has been noted by GNATS. From: "Vladimir Merzliakov" To: , , , , , Cc: Subject: Re: target/10327: [3.4 regression] i386 code generation problem with leal Date: Tue, 8 Apr 2003 13:02:15 +0400 This is a multi-part message in MIME format. ------=_NextPart_000_0082_01C2FDCF.1417B1F0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Not fixed in current CVS version gcc version 3.4 20030408 (experimental) I have small testcase: -8X---------------------- struct s { int m1; short m2; }; void f(void) { static struct s s0; s0.m2 += 17; } -8X---------------------- Error message: /var/tmp//ccVdOHXP.s: Assembler messages: /var/tmp//ccVdOHXP.s:12: Error: suffix or operands invalid for `lea' Used options: gcc -fPIC -O -march=pentium2 test.c http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p r=10327 ------=_NextPart_000_0082_01C2FDCF.1417B1F0 Content-Type: application/octet-stream; name="test.s" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test.s" .file "test.c"=0A= .local s0.0=0A= .comm s0.0,8,4=0A= .text=0A= .globl f=0A= .type f, @function=0A= f:=0A= pushl %ebp=0A= movl %esp, %ebp=0A= call __i686.get_pc_thunk.cx=0A= addl $_GLOBAL_OFFSET_TABLE_, %ecx=0A= addw $17, 4+s0.0@GOTOFF(%ecx)=0A= popl %ebp=0A= ret=0A= .size f, .-f=0A= .section .gnu.linkonce.t.__i686.get_pc_thunk.cx,"ax",@progbits=0A= .globl __i686.get_pc_thunk.cx=0A= .hidden __i686.get_pc_thunk.cx=0A= .type __i686.get_pc_thunk.cx, @function=0A= __i686.get_pc_thunk.cx:=0A= movl (%esp), %ecx=0A= ret=0A= .ident "GCC: (GNU) 3.4 20030407 (experimental)"=0A= ------=_NextPart_000_0082_01C2FDCF.1417B1F0 Content-Type: application/octet-stream; name="test.i" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test.i" # 1 "test.c"=0A= # 1 ""=0A= # 1 ""=0A= # 1 "test.c"=0A= struct s {=0A= int m1;=0A= short m2;=0A= };=0A= =0A= void f(void)=0A= {=0A= static struct s s0;=0A= =0A= s0.m2 +=3D 17;=0A= }=0A= ------=_NextPart_000_0082_01C2FDCF.1417B1F0--