[llvm-bugs] [Bug 42502] New: [integrated as] inline asm constraint "i" does not accept address of labels
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 3 14:47:03 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: ndesaulniers at google.com
CC: echristo at gmail.com, htmldeveloper at gmail.com,
isanbard at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190703/6ccc1601/attachment.html>
More information about the llvm-bugs
mailing list