[cfe-dev] Assertion fails with a FIXME message: file bugs?

Török Edwin edwintorok at gmail.com
Fri Jan 18 02:59:49 PST 2008


Hi,

I am getting assertion fails from clang with messages containing FIXME,
like:

clang: CodeGenTypes.cpp:497:
void<unnamed>::RecordOrganizer::addPaddingFields(unsigned int):
Assertion `(RequiredBits % 8) == 0 && "FIXME Invalid struct layout"' failed.

Should I file bugs for those with a testcase?

I got the above message when trying to codegen this (looks like it
doesn't like the bitfield):

typedef struct blob {
   unsigned int isNotEmpty : 1;
   int *ctx;
}  fileblob;
fileblob * fileblobCreate(void) {
}


Best regards,
--Edwin




More information about the cfe-dev mailing list