[llvm-bugs] [Bug 30520] New: clang segfaults on invalid transparent_union declaration

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 25 15:21:45 PDT 2016


            Bug ID: 30520
           Summary: clang segfaults on invalid transparent_union
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vicencb at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17346
  --> https://llvm.org/bugs/attachment.cgi?id=17346&action=edit
tarball with command output, source file and additional files generated during
the crash


To reproduce the bug just execute "clang -c err.c".

err.c has been simplified to one single and short line, so, it should be easier
to debug:
union u { struct stb b; } __attribute__((transparent_union));


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/20160925/190a371d/attachment.html>

More information about the llvm-bugs mailing list