[patch] Change inline asm to work with llvm-gcc
Jakub Jelinek
jakub@redhat.com
Tue Dec 23 15:31:00 GMT 2008
On Tue, Dec 23, 2008 at 11:21:17AM +0000, Rafael Espindola wrote:
> llvm-gcc requires that if a register is used for both input and
> output, the types of the input and output expressions should be
> compatible. Currently __FD_ZERO uses an int for output and a int* for
> input in its second argument.
>
>
> 2008-12-23 Rafael Avila de Espindola <espindola@google.com>
>
> * sysdeps/i386/bits/select.h (__FD_ZERO): Change the type of __d1 to
> "int *".
Why should glibc care that llvm redefines semantics of inline asm?
Inline asm is a GNU extension, coming from GCC, so if llvm wants to support
it, it better should be compatible.
Jakub
More information about the Libc-alpha
mailing list