[llvm-bugs] [Bug 50602] New: __builtin_dump_struct crashed on 2+ bitfields with total size over 16 bits
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 7 06:26:40 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50602
Bug ID: 50602
Summary: __builtin_dump_struct crashed on 2+ bitfields with
total size over 16 bits
Product: clang
Version: 12.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: hnarkaytis at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 24913
--> https://bugs.llvm.org/attachment.cgi?id=24913&action=edit
crash dump
Subj. Repro:
int printf (const char * fmt, ...);
int main ()
{
struct { int x:16; int y:1; } x = { 0, 0 };
__builtin_dump_struct (&x, &printf);
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/20210607/cacf325e/attachment-0001.html>
More information about the llvm-bugs
mailing list