[llvm-bugs] [Bug 31135] New: [inline asm] bit field support
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 23 03:24:47 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31135
Bug ID: 31135
Summary: [inline asm] bit field support
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
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
The following code compiles in gcc but not in clang:
typedef struct foo {
unsigned int field : 1;
} foo;
foo x;
int main()
{
__asm__ ( "movb $1, %0" : "=rm" (x.field));
return 0;
}
--
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/20161123/ec1313a6/attachment.html>
More information about the llvm-bugs
mailing list