[LLVMbugs] [Bug 4549] New: Incompatible input / output inline asm constraints in glibc code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 13 10:42:31 PDT 2009


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: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list