aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccgen.c b/tccgen.c
index 0ced4b6..78a5161 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -1306,6 +1306,7 @@ void gen_op(int op)
swap(&t1, &t2);
}
type1 = vtop[-1].type;
+ type1.t &= ~VT_ARRAY;
#ifdef TCC_TARGET_X86_64
vpushll(pointed_size(&vtop[-1].type));
#else