[PATCH] Don't change the same inputs several times in match_asm_constraints_1 (PR inline-asm/35160)

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Sat Feb 16 16:26:00 GMT 2008


On Fri, 15 Feb 2008, Janis Johnson wrote:

> 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

Uros seems to have checked in a fix.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-patches mailing list