···1+--- tccgen.c
2++++ tccgen.c
3+@@ -4941,7 +4941,7 @@ static int post_type(CType *type, AttributeDef *ad, int storage, int td)
4+ next();
5+ n = -1;
6+ t1 = 0;
7+- if (td & TYPE_PARAM) while (1) {
8++ while (1) {
9+ /* XXX The optional type-quals and static should only be accepted
10+ in parameter decls. The '*' as well, and then even only
11+ in prototypes (not function defs). */
12+@@ -4972,7 +4972,8 @@ static int post_type(CType *type, AttributeDef *ad, int storage, int td)
13+ }
14+ break;
15+16+- } else if (tok != ']') {
17++ }
18++ if (tok != ']') {
19+ if (!local_stack || (storage & VT_STATIC))
20+ vpushi(expr_const());
21+ else {