[LLVMbugs] [Bug 2419] New: empty union initialization crashes clang

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 6 10:14:57 PDT 2008


           Summary: empty union initialization crashes clang
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu

The following crashes clang -emit-llvm:

struct Mem {
        union {
        } u;

struct Mem *columnMem(){
        static const struct Mem nullMem = { {} };

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list