From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8593 invoked by alias); 5 Feb 2003 15: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 8576 invoked by uid 71); 5 Feb 2003 15:06:01 -0000 Date: Wed, 05 Feb 2003 15:06:00 -0000 Message-ID: <20030205150601.8569.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-02/txt/msg00256.txt.bz2 List-Id: The following reply was made to PR optimization/9570; it has been noted by GNATS. From: Wolfgang Bangerth To: Eric Botcazou Cc: gcc-bugs@gcc.gnu.org, Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3 Date: Wed, 5 Feb 2003 08:57:00 -0600 (CST) On Wed, 5 Feb 2003, Eric Botcazou wrote: > > Confirmed. Here's a minimal testcase: > > ------------------------------- > > int i = 0; > > > > void foo() { > > static bool b; > > if (! i) > > asm("movl %%esp, %0" : "=r" (i)); > > } > > > > asm(".p2align " "2" "; .globl mcount; mcount:" > > "call " "foo" "\n\t" > > "ret"); > > ------------------------------- > > I get: > > pr9570.c: In function `foo': > pr9570.c:5: error: syntax error before "b" > > with this testcase. Try again with the C++ front-end? ;-) W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth/