From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5468 invoked by alias); 28 May 2002 17:07:29 -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 5433 invoked by uid 61); 28 May 2002 17:07:26 -0000 Date: Tue, 28 May 2002 10:16:00 -0000 Message-ID: <20020528170725.5432.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michaelni@gmx.at, nobody@gcc.gnu.org From: rth@gcc.gnu.org Reply-To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michaelni@gmx.at, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: optimization/6806: gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386 X-SW-Source: 2002-05/txt/msg00915.txt.bz2 List-Id: Synopsis: gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386 State-Changed-From-To: open->analyzed State-Changed-By: rth State-Changed-When: Tue May 28 10:07:23 2002 State-Changed-Why: Confirmed still present in 3.1.0 compiling with -O1. Appears to be some sort of reload inheritence problem, since we have movl f, %eax movl %eax, -40(%ebp) ... addl %eax, %edx #NO_APP I.e. F got copied to the stack as expected for a "g" input with not enough registers, but then we used eax in the asm anyway. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6806