tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] help with this modification


From: Carlos Montiers
Subject: [Tinycc-devel] help with this modification
Date: Tue, 11 Mar 2014 10:39:42 -0400

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.
How I can determine if the array is global or local ?

Carlos.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]