Unified · Split
| @@ -6947,7 +6947,11 @@ static void struct_decl(CType *type, int u) · 6946 unmodified lines | |||
| 6947 | bt != VT_BYTE && | 6947 | bt != VT_BYTE && |
| 6948 | bt != VT_SHORT && | 6948 | bt != VT_SHORT && |
| 6949 | bt != VT_BOOL && | 6949 | bt != VT_BOOL && |
| 6950 | bt != VT_ENUM) | 6950 | bt != VT_ENUM |
| 6951 | #ifdef TCC_TARGET_X86_64 | ||
| 6952 | && bt != VT_LLONG | ||
| 6953 | #endif | ||
| 6954 | ) | ||
| 6951 | error("bitfields must have scalar type"); | 6955 | error("bitfields must have scalar type"); |
| 6952 | bsize = size * 8; | 6956 | bsize = size * 8; |
| 6953 | if (bit_size > bsize) { | 6957 | if (bit_size > bsize) { |