This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inline-asm/10857: Inlining a function with inline-asm: "error: impossible constraint in `asm'"


The following reply was made to PR inline-asm/10857; it has been noted by GNATS.

From: Bernd Trog <berndtrog@yahoo.com>
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  <jh@suse.cz>
 +
 +       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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]