[LLVMbugs] [Bug 1332] NEW: Crash in addNewBitField for zero-width bitfield after padding

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 15 01:59:52 PDT 2007


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

           Summary: Crash in addNewBitField for zero-width bitfield after
                    padding
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr


Testcase:
struct Z { int :1; int :0; int :1; } z;

Result:
$ gcc -c z.c
cc1: llvm-types.cpp:1160: void 
StructTypeConversionInfo::addNewBitField(unsigned int, unsigned int): Assertion 
`Size <= 64 && "Bitfield too large!"' failed.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list