tinycc/tests
Philip 44c330d647 VLA fix: save stack pointer right after modification
This patch disables the optimization of saving stack pointers lazily,
which didn't fully take into account that control flow might not reach
the stack-saving instructions. I've decided to leave in the extra calls
to vla_sp_save() in case anyone wants to restore this optimization.

Tests added and enabled.

There are two remaining bugs: VLA variables can be modified, and jumping
into the scope of a declared VLA will cause a segfault rather than a
compiler error. Both of these do not affect correct C code, but should
be fixed at some point. Once VLA variables have been made properly
immutable, we can share them with the saved stack pointer and save stack
and instructions.
2015-04-28 09:23:29 +00:00
..
tests2 VLA fix: save stack pointer right after modification 2015-04-28 09:23:29 +00:00
abitest.c fix another x86_64 ABI bug 2015-04-26 17:31:39 +00:00
asmtest.S Allow tcc to understand a setob,... opcodes as alias to seto,... 2015-01-06 22:59:19 +03:00
boundtest.c a bounds checking code for the ARCH=x86_64 2015-04-10 15:17:22 +03: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 remove a compilation warnings for libtest and test3 2015-04-10 06:44:34 +03:00
Makefile -fdollar-in-identifiers addon 2015-04-20 03:44:08 +03:00
tcctest.c Disable floating-point test for ARM soft-float 2015-03-03 17:28:13 +03: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