Hi,
on x86 Linux a similar patch of the gfunc_call (i386-gen.c) leads to
the hang on the test3.
It looks that

@@ -5458,6 +5459,7 @@ static void decl_initializer(CType *type,
Section *sec, unsigned long c,

         vla_runtime_type_size(type, &a);
         gen_vla_alloc(type, a);
+        vla_sp_save();
         vset(type, VT_LOCAL|VT_LVAL, c);
         vswap();
         vstore();

is enough to fix a problem.  All other changes are to simplify a code.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to