[LLVMbugs] [Bug 143] NEW: [llvm-gcc] Illegal union field reference

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Thu Nov 20 12:49:47 PST 2003


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

           Summary: [llvm-gcc] Illegal union field reference
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu


Reduced from xemacs-21.5.14:

% cat doprnt.i
struct printf_spec {
  unsigned int minus_flag:1;
  char converter;
};

void parse_doprnt_spec () {
  struct printf_spec spec;
  spec.minus_flag = 1;
}
% llvm-gcc doprnt.i
cc1: ../../gcc-3.4/gcc/llvm-expand.c:4659: llvm_expand_lvalue_expr: Assertion
`(ActualSize & 7) == 0 && (Size & 7) == 0 && "Illegal union field reference!"'
failed.
doprnt.i: In function `parse_doprnt_spec':

doprnt.i:9: 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