[LLVMbugs] [Bug 650] NEW: [llvm-gcc] llvm-expand.c asserts on initialization of static union
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Nov 1 07:35:14 PST 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=650
Summary: [llvm-gcc] llvm-expand.c asserts on initialization of
static union
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kharriman at greenplum.com
Assertion failure at llvm-expand.c:3791:
llvm-gcc -o llvmbug03.bc -c -save-temps llvmbug03.c
cc1: /home/vadve/criswell/rel15/cfrontend/src/gcc/llvm-expand.c:3791:
llvm_expand_constructor_element: Assertion `(ElTy)->ID == ArrayTyID && "Not an
array type!"' failed.
llvmbug03.c:7: internal compiler error: Aborted
when compiling this:
# 1 "llvmbug03.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "llvmbug03.c"
typedef union nameData
{
char data[64];
int alignmentDummy;
} NameData;
static NameData nd = {"relname"};
------- 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