This bug was reported on http://lists.gnu.org/archive/html/tinycc-devel/2009-03/msg00035.html This happens because parser of array initializer doesn't stop to read until semi-colon or comma.
Unified · Split
| @@ -9176,9 +9176,11 @@ static void decl_initializer_alloc(CType *type, AttributeDef *ad, int r, · 9175 unmodified lines | ||
| 9176 | 9176 | if (tok == '{') |
| 9177 | 9177 | level++; |
| 9178 | 9178 | else if (tok == '}') { |
| 9179 | − if (level == 0) | |
| 9180 | − break; | |
| 9181 | 9179 | level--; |
| 9180 | + if (level <= 0) { | |
| 9181 | + next(); | |
| 9182 | + break; | |
| 9183 | + } | |
| 9182 | 9184 | } |
| 9183 | 9185 | next(); |
| 9184 | 9186 | } |