[llvm-bugs] [Bug 33909] error: unexpected token at start of statement on GCC asm statements

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 24 09:29:07 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33909

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |compnerd at compnerd.org,
                   |                            |rnk at google.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
This is a longstanding compatibility issue and we've already decided that this
is the preferred behavior. Clang parses inline assembly in an effort to get
consistent diagnostic output regardless of whether an object file or assembly
file is emitted.

There is a flag to disable this, but I forget what it is. Maybe it's
-fno-integrated-as.

-- 
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/20170724/d9034ff1/attachment.html>


More information about the llvm-bugs mailing list