[llvm-bugs] [Bug 31006] New: inline asm multiline comments

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 13 04:11:42 PST 2016


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

            Bug ID: 31006
           Summary: inline asm multiline comments
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ziv.izhar at intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

in inline asm, you cant write two or more sequenced comment lines (which are
notated by ";")

for example:

int main(){
    __asm{
        ;comment1
        ;comment2
    }
}

produces:
error: invalid instruction mnemonic 'comment2'
__asm{
^
note: instantiated into assembly here
;comment2

-- 
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/20161113/31972980/attachment-0001.html>


More information about the llvm-bugs mailing list