[LLVMbugs] [Bug 4611] New: Assertion failed: (BitsAvailableInLastField && " Bitfield size mismatch!"), function LayoutBitField, file CGRecordLayoutBuilder.cpp, line 67.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 23 10:00:33 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4611

           Summary: Assertion failed: (BitsAvailableInLastField && "Bitfield
                    size mismatch!"), function LayoutBitField, file
                    CGRecordLayoutBuilder.cpp, line 67.
           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
struct object_entry {
        unsigned int type:3, pack_id:16, depth:13;
} entries;

$ clang t.c
Assertion failed: (BitsAvailableInLastField && "Bitfield size mismatch!"),
function LayoutBitField, file CGRecordLayoutBuilder.cpp, line 67.

Stack dump:
0.      Program arguments: /Users/d0k/Desktop/build/llvm/Debug/bin/clang-cc
-triple i386-apple-darwin9 -S -disable-free -main-file-name fast-import.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-3PDjPb.s -x cpp-output
fast-import.i 
1.      <eof> parser at end of file


-- 
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