[LLVMbugs] [Bug 10365] New: missing support for %cc in inline asm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 14 16:42:43 PDT 2011


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

           Summary: missing support for %cc in inline asm
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


gcc accepts

void f() {
  __asm__ ( "" : : : "%cc");
}

but clang rejects it with:

unknown register name '%cc' in asm

-- 
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