From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23597 invoked by alias); 21 May 2003 09:46:13 -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 23065 invoked by uid 71); 21 May 2003 09:46:01 -0000 Date: Wed, 21 May 2003 09:46:00 -0000 Message-ID: <20030521094601.23064.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Bernd Trog Subject: Re: inline-asm/10857: Inlining a function with inline-asm: "error: impossible constraint in `asm'" Reply-To: Bernd Trog X-SW-Source: 2003-05/txt/msg02269.txt.bz2 List-Id: The following reply was made to PR inline-asm/10857; it has been noted by GNATS. From: Bernd Trog To: jh@suse.cz, ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: inline-asm/10857: Inlining a function with inline-asm: "error: impossible constraint in `asm'" Date: Wed, 21 May 2003 02:38:42 -0700 (PDT) --- ehrhardt@mathematik.uni-ulm.de wrote: > The patch the prevented this from compiling at -O3 went into gcc-3.4 > between 20030331 and 20030519. After spending some CPU cycles on compiling gcc, it looks like: +Fri Apr 11 00:12:14 CEST 2003 Jan Hubicka + + PR inline-asm/8803 + * function.c (instantate_virtual_regs): Verify that all ASM statements + match after the virutal regs instantiation. + gcc/gcc/function.c: instantiate_virtual_regs_1 (&CALL_INSN_FUNCTION_USAGE (insn), NULL_RTX, 0); + + /* Past this point all ASM statements should match. Verify that + to avoid failures later in the compilation process. */ + if (asm_noperands (PATTERN (insn)) >= 0 + && ! check_asm_operands (PATTERN (insn))) + instantiate_virtual_regs_lossage (insn); } triggered my regression. Removing that patch from 3.3.0 makes my code compile again - I'm happy :-) Maybe its possible to add another condition to that if statement? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com