https://bugs.llvm.org/show_bug.cgi?id=42502
Bug ID: 42502
Summary: [integrated as] inline asm constraint "i" does not
accept address of labels
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: ndesaulni...@google.com
CC: echri...@gmail.com, htmldevelo...@gmail.com,
isanb...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@metafoo.co.uk
void foo(void) {
bar:
asm("":: "i"(&&bar));
}
gcc is cool with the above; clang errors:
error: invalid operand for inline asm constraint 'i'
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs