[LLVMbugs] [Bug 833] NEW: valid inline asm rejected

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 18 09:26:58 PDT 2006


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

           Summary: valid inline asm rejected
           Product: tools
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


This:

int G;
int foo(int X) {
        __asm__ __volatile__ ("xchg{l} {%0,%1|%1,%0}"
                              : "=m" (G), "+r" (X) : "m" (G));
  return X;
}

Is rejected with:

asm.c:4: error: Invalid or unsupported inline assembly!

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list