[llvm-bugs] [Bug 31007] New: inline asm 0bH conflict
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 13 04:47:16 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31007
Bug ID: 31007
Summary: inline asm 0bH conflict
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
there is a conflict in imm operands between 0b which states "binary" and H
which states "Hexa":
int main(){
__asm{
add al,0bH
}
}
clang first parses the 0b and thinks "binary" but then the H isn't a valid
character therefore generates an error.
0bH can be b in hexa, therefore it's a parsing problem.
--
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/30d8272d/attachment.html>
More information about the llvm-bugs
mailing list