[llvm-bugs] [Bug 35940] New: Reference to packed member isn't checked
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jan 13 06:30:53 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35940
Bug ID: 35940
Summary: Reference to packed member isn't checked
Product: new-bugs
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hjl.tools at gmail.com
CC: llvm-bugs at lists.llvm.org
[hjl at gnu-tools-1 pr51628]$ cat r.ii
struct pair_t {
char c;
__int128_t i;
} __attribute__((packed));
extern void bar (__int128_t &);
extern struct pair_t p;
__int128_t &
foo (void)
{
bar (p.i);
return p.i;
}
[hjl at gnu-tools-1 pr51628]$ clang -S r.ii
[hjl at gnu-tools-1 pr51628]$
--
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/20180113/ed1944fa/attachment.html>
More information about the llvm-bugs
mailing list