Vla fix for 64 bits targets

This commit is contained in:
herman ten brugge 2022-03-17 10:06:24 +01:00
parent 719d96665e
commit 291eccc154

View File

@ -3945,7 +3945,11 @@ static void vpush_type_size(CType *type, int *a)
int size = type_size(type, a);
if (size < 0)
tcc_error("unknown type size");
#if PTR_SIZE == 8
vpushll(size);
#else
vpushi(size);
#endif
}
}