-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Description
| Bugzilla Link | 2987 |
| Resolution | FIXED |
| Resolved on | Nov 07, 2018 00:22 |
| Version | trunk |
| OS | MacOS X |
| Attachments | .i file |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
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.