https://llvm.org/bugs/show_bug.cgi?id=31005
Bug ID: 31005 Summary: inline asm global registers compatibility to gcc+icc 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 in clang, the following lines produce an error: register int foo asm("al"); int main() { } error: register 'al' unsuitable for global register variables on this target while in gcc + icc these lines compile with a new meanning: instead of al (or ax,eax,rax), it acts like it's all the eax register. in clang however we get the error specified before. -- 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