[LLVMbugs] [Bug 295] NEW: [llvm-gcc] Cannot expand constructor

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Mar 15 14:05:56 PST 2004


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

           Summary: [llvm-gcc] Cannot expand constructor
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu


Reduced from zlib-1.1.4 (included in cvs-1.11.6):

% cat inftrees.i
struct inflate_huft_s {
  union {
    struct {
      unsigned char Exop;
      unsigned char Bits;
    } what;
    unsigned pad;
  } word;
  unsigned base;
} fixed_tl[] = {
  {{{96,7}},256}
};

% llvm-gcc inftrees.i

cc1: ../../gcc-3.4-cvs/gcc/llvm-expand.c:4914: llvm_expand_constant_expr:
Assertion `0 && "Couldn't expand constructor in this context!"' failed.
inftrees.i:12: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.cs.uiuc.edu> for instructions.



------- 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