tinycc/tests
James Lyon 41b3c7a507 Improved variable length array support.
VLA storage is now freed when it goes out of scope. This makes it
possible to use a VLA inside a loop without consuming an unlimited
amount of memory.

Combining VLAs with alloca() should work as in GCC - when a VLA is
freed, memory allocated by alloca() after the VLA was created is also
freed. There are some exceptions to this rule when using goto: if a VLA
is in scope at the goto, jumping to a label will reset the stack pointer
to where it was immediately after the last VLA was created prior to the
label, or to what it was before the first VLA was created if the label
is outside the scope of any VLA. This means that in some cases combining
alloca() and VLAs will free alloca() memory where GCC would not.
2013-04-27 22:58:52 +01:00
..
tests2 Sorted out CMake on x86-64 and fixed silly XMM# bug introduced when working on Win64 stdargs. 2013-04-25 22:30:53 +01:00
abitest.c Fixed x86-64 long double passing. 2013-04-26 16:42:12 +01:00
asmtest.S i386-asm: support "pause" opcode 2011-02-24 09:38:13 -08:00
boundtest.c x86-64: chkstk, alloca 2009-07-18 22:06:54 +02:00
CMakeLists.txt Improved variable length array support. 2013-04-27 22:58:52 +01:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tccrun: another incompatible change to the tcc_relocate API 2012-09-01 11:33:34 +02:00
Makefile Improved variable length array support. 2013-04-27 22:58:52 +01:00
tcctest.c Fixed silly error in Windows build of tests (abitest-cc not linking to libtcc) 2013-04-26 01:27:04 +01:00
tcctest.py Added cross compilation to CMake build system. 2013-04-25 01:08:18 +01:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00