http://llvm.org/bugs/show_bug.cgi?id=4549

           Summary: Incompatible input / output inline asm constraints in
                    glibc code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Consider the following C code:

#include <stdlib.h>

void foo(void) {
  fd_set fdbar;
  FD_ZERO(&fdbar);
}

llvm-gcc emits the following error:

1.c: In function 'foo':
1.c:5: error: unsupported inline asm: input constraint with a matching output
constraint of incompatible type!

This break Qt and (I assume) many other apps. Preprocessed source is attached.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to