[LLVMbugs] [Bug 4610] New: Assertion failed: (StructPacking == 1 && "FIXME: What if StructPacking is not 1 here"), function getTypeAlignment, file CGRecordLayoutBuilder.cpp, line 290.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jul 23 09:58:43 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4610
Summary: Assertion failed: (StructPacking == 1 && "FIXME: What if
StructPacking is not 1 here"), function
getTypeAlignment, file CGRecordLayoutBuilder.cpp, line
290.
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu, andersca at mac.com
$ cat t.c
#pragma pack(4)
struct ref {
struct ref *next;
} refs;
$ clang t.c
Assertion failed: (StructPacking == 1 && "FIXME: What if StructPacking is not 1
here"), function getTypeAlignment, file CGRecordLayoutBuilder.cpp, line 290.
Stack dump:
0. Program arguments: /Users/d0k/Desktop/build/llvm/Debug/bin/clang-cc
-triple i386-apple-darwin9 -S -disable-free -main-file-name builtin-clone.i
--relocation-model pic -pic-level=1 --disable-fp-elim --unwind-tables=0
--mcpu=yonah --fmath-errno=0 -mmacosx-version-min=10.5.0
-fdiagnostics-show-option -o
/var/folders/OV/OVTXSzUoG4ui5ZOmbcD2uE+++TI/-Tmp-/cc-Pt6sUf.s -x cpp-output
builtin-clone.i
1. <eof> parser at end of file
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list