[LLVMbugs] [Bug 562] NEW: [llvm-gcc] crash on global variable nested union with initializer

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 10 11:41:39 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=562

           Summary: [llvm-gcc] crash on global variable nested union with
                    initializer
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


llvm-gcc asserts on this testcase:

union A {
  union B { double *C; } D;
} E = { { 0 } };

cc1: ../../llvm-gcc/gcc/llvm-expand.c:5310: llvm_expand_constant_expr: Assertion
`0 && "Couldn't expand constructor in this context!"' failed.

This is causing all of the 'quest' tests to fail.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list