···11+--- tccgen.c
22++++ tccgen.c
33+@@ -4941,7 +4941,7 @@ static int post_type(CType *type, AttributeDef *ad, int storage, int td)
44+ next();
55+ n = -1;
66+ t1 = 0;
77+- if (td & TYPE_PARAM) while (1) {
88++ while (1) {
99+ /* XXX The optional type-quals and static should only be accepted
1010+ in parameter decls. The '*' as well, and then even only
1111+ in prototypes (not function defs). */
1212+@@ -4972,7 +4972,8 @@ static int post_type(CType *type, AttributeDef *ad, int storage, int td)
1313+ }
1414+ break;
1515+1616+- } else if (tok != ']') {
1717++ }
1818++ if (tok != ']') {
1919+ if (!local_stack || (storage & VT_STATIC))
2020+ vpushi(expr_const());
2121+ else {