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

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to