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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to