gcc failed to compile glibc/alpha
Falk Hueffner
falk.hueffner@student.uni-tuebingen.de
Sun Nov 24 00:20:00 GMT 2002
"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.
In any case, the error message really could be improved...
--
Falk
More information about the Gcc
mailing list