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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs