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: unassignedb...@nondot.org
          Reporter: ziv.iz...@intel.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to