Created attachment 24795
clang created preprocessed source file and script
The following code makes clang crash. It happened on clang8, clang11 and
clang12.
typedef union {
struct {
int a : 2;
int b : 2;
};
int asInt;
} MyBitFields;
MyBitFields r;
int main() {
__builtin_dump_struct(&r, &printf);
return 0;
}
1.zip
(64789 bytes, application/x-zip-compressed)