This is the mail archive of the libc-alpha@sourceware.org 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: [patch] Change inline asm to work with llvm-gcc


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


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