[LLVMbugs] [Bug 648] NEW: [llvm-gcc] llvm-types.c assertion: "Less aligned field overlaps with later, more aligned, field?"
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Oct 31 17:28:30 PST 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=648
Summary: [llvm-gcc] llvm-types.c assertion: "Less aligned field
overlaps with later, more aligned, field?"
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
llvm-gcc assertion failure:
cc1: /home/vadve/criswell/rel15/cfrontend/src/gcc/llvm-types.c:794:
DecodeFieldDecl: Assertion `ElementOffsets[*Idx-1] <= StartByte &&
ElementAlignments[*Idx-1] >= ByteAlignment && "Less aligned field overlaps with
later, more aligned, field?"' failed.
when trying to compile this C code: (this is the .i file)
# 1 "llvmbug01.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "llvmbug01.c"
typedef struct GXACT {
char gid[200];
int xid;
} GXACT;
int max_prepared_xacts = 100;
int main() {
struct TwoPhase_Shared {
int num_prepared_xacts;
struct GXACT gxact_array[max_prepared_xacts];
struct GXACT axact_array[max_prepared_xacts];
} *shared;
return 0;
}
------- 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