[LLVMbugs] [Bug 20328] New: clang doesn't accept the intel style EQU inline assembly any more

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 16 11:00:15 PDT 2014


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

            Bug ID: 20328
           Summary: clang doesn't accept the intel style EQU inline
                    assembly any more
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat x.c
int main() {
asm("\nvp8_block_coeff EQU 8");
return 0;
}

$ clang -S x.c
x.c:2:8: error: unexpected token in argument list
asm("\nvp8_block_coeff EQU 8");
       ^
<inline asm>:2:21: note: instantiated into assembly here
vp8_block_coeff EQU 8
                    ^
1 error generated.


This used to work with old clang, and it also works with gcc.  Adding
.intel_syntax doesn't seem to help either.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140716/e504947e/attachment.html>


More information about the llvm-bugs mailing list