Hello. I want modify the source code of tiny for warns about arrays declared inside functions, with a size greather than 1MB (default stack size on windows) or a less value, maybe 256KB, but I have problem for know is the arrays is declared in global or inside the function. How I can know it.
I have this line on tccgen.c under line 3324 :
if ((n > 262144) && !(vtop->type.t & VT_STATIC))
tcc_warning("array size greater than 256 KB can full the default stack reservation size on windows (1 MB)");
but seems that vtop->type.t is 0.