This is the mail archive of the gcc-patches@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: [PATCH] Don't change the same inputs several times in match_asm_constraints_1 (PR inline-asm/35160)


On Fri, 2008-02-15 at 17:11 -0500, Kaveh R. GHAZI wrote:
> On Wed, 13 Feb 2008, Kaveh R. GHAZI wrote:
> 
> > Hi Jakub,
> >
> > I'm seeing an error with -fpic from your new testcase:
> >
> > http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg00876.html
> >
> > .../gcc.target/i386/pr35160.c:16: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
> > .../gcc.target/i386/pr35160.c:14: error: 'asm' operand has impossible constraints
> > .../gcc.target/i386/pr35160.c:16: error: 'asm' operand has impossible constraints
> >
> > Would you please adjust the test to work with -fpic, or if appropriate use
> > the "dg-require-effective-target nonpic" command?
> 
> 
> Jakub - If you can't make it work with pic, then this patch will skip the
> test when necessary.
> 
> Tested via "make check" on i686-unknown-linux-gnu.
> 
> Okay for mainline?

It's OK with me if Jakub has no objections.

Janis


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