aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_cparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_cparse.c b/src/lj_cparse.c
index b9df88d7..9e213610 100644
--- a/src/lj_cparse.c
+++ b/src/lj_cparse.c
@@ -798,6 +798,10 @@ static void cp_push_type(CPDecl *decl, CTypeID id)
798 cp_push(decl, info & ~CTMASK_CID, size); /* Copy type. */ 798 cp_push(decl, info & ~CTMASK_CID, size); /* Copy type. */
799 break; 799 break;
800 case CT_ARRAY: 800 case CT_ARRAY:
801 if ((ct->info & (CTF_VECTOR|CTF_COMPLEX))) {
802 info |= (decl->attr & CTF_QUAL);
803 decl->attr &= ~CTF_QUAL;
804 }
801 cp_push_type(decl, ctype_cid(info)); /* Unroll. */ 805 cp_push_type(decl, ctype_cid(info)); /* Unroll. */
802 cp_push(decl, info & ~CTMASK_CID, size); /* Copy type. */ 806 cp_push(decl, info & ~CTMASK_CID, size); /* Copy type. */
803 decl->stack[decl->pos].sib = 1; /* Mark as already checked and sized. */ 807 decl->stack[decl->pos].sib = 1; /* Mark as already checked and sized. */