[LLVMbugs] [Bug 18916] don't err on ".att_syntax prefix"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 8 12:01:56 PDT 2014


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

Yuri <yuri at tsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #8 from Yuri <yuri at tsoft.com> ---
Here is the case with single blob:

$ cat t.cpp 
int main() {
  __asm__ (
    ".intel_syntax noprefix;"
    "mov QWORD PTR [%r11+1*8], rdi;"
    ".att_syntax prefix;"
  );
  return 0;
}

$ g++ t.cpp

$ clang++ t.cpp
t.cpp:3:5: error: unknown token in expression
    ".intel_syntax noprefix;"
    ^
<inline asm>:1:40: note: instantiated into assembly here
        .intel_syntax noprefix;mov QWORD PTR [%r11+1*8], rdi;.att_syntax
prefix;
                                              ^
1 error generated.

-- 
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/20140808/a0e917c9/attachment.html>


More information about the llvm-bugs mailing list