[LLVMbugs] [Bug 2987] New: Crash from llvm-types
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Oct 30 11:23:59 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2987
Summary: Crash from llvm-types
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dalej at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2165)
--> (http://llvm.org/bugs/attachment.cgi?id=2165)
.i file
This happens on llvm-gcc on x86 darwin (or ppc32). Was introduced by 58387.
now what? $ld/gcc/llvm-gcc-4.2.SL.obj/gcc/xgcc -B
$ld/gcc/llvm-gcc-4.2.SL.obj/gcc/ t024_x.i -w
Assertion failed: ((isBitfield(Field) || FieldNo == ~0U || FieldOffsetInBits ==
8*Info->ElementOffsetInBytes[FieldNo]) && "Wrong LLVM field offset!"), function
ConvertRECORD, file ../../llvm-gcc-4.2/gcc/llvm-types.cpp, line 2150.
In file included from
/Volumes/MacOS9/gcc/llvm-gcc-4.2.SL.obj/gcc/testsuite/gcc/gcc.dg-struct-layout-1/t024_x.c:6:
/Volumes/MacOS9/gcc/llvm-gcc-4.2.SL.obj/gcc/testsuite/gcc/gcc.dg-struct-layout-1/t024_test.h:
In function ‘test2045’:
/Volumes/MacOS9/gcc/llvm-gcc-4.2.SL.obj/gcc/testsuite/gcc/gcc.dg-struct-layout-1/t024_test.h:46:
internal compiler error: Abort trap
Test from gcc testsuite.
--
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