This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: gcc failed to compile glibc/alpha


On Sat, Nov 23, 2002 at 09:08:32PM +0100, Falk Hueffner wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> 
> > # ./xgcc -B./ -O -S /tmp/x.c
> > /tmp/x.c: In function `__sigwait':
> > /tmp/x.c:21: inconsistent operand constraints in an `asm'
> 
> [...]
> >     __asm__("callsys # %0 %1 <= %2 %3 %4 %5 %6" : "=v"(_sc_ret), "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18) : "0"(355), "2"(_sc_16), "3"(_sc_17), "4"(_sc_18), "1"(_sc_19) : "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$22", "$23", "$24", "$25", "$27", "$28", "memory", "$20", "$21");
> 
> What is "=v" supposed to do? I can't find it anywhere. Using "=r"
> instead makes the error go away for me.

R0_REG class (which consists of $0 only).

	Jakub


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