From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2025 invoked by alias); 5 Feb 2003 14:56: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 2005 invoked by uid 71); 5 Feb 2003 14:56:00 -0000 Date: Wed, 05 Feb 2003 14:56:00 -0000 Message-ID: <20030205145600.2004.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/msg00255.txt.bz2 List-Id: The following reply was made to PR optimization/9570; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3 Date: Wed, 5 Feb 2003 08:55:14 -0600 (CST) ---------- Forwarded message ---------- Date: Wed, 5 Feb 2003 09:18:15 +0100 From: Eric Botcazou To: bangerth@dealii.org Cc: gcc-bugs@gcc.gnu.org Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3 > 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. -- Eric Botcazou