This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc failed to compile glibc/alpha
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Cc: "H. J. Lu" <hjl at lucon dot org>, Dzung Nguyen <dunguyen at iol dot unh dot edu>, gcc at gcc dot gnu dot org, clp at iol dot unh dot edu, GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Sat, 23 Nov 2002 21:14:46 +0100
- Subject: Re: gcc failed to compile glibc/alpha
- References: <3DDE6B1A.5000004@iol.unh.edu> <20021123113037.A25862@lucon.org> <87vg2ojbgf.fsf@student.uni-tuebingen.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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