aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/78_vla_label.c
Commit message (Collapse)AuthorAgeFilesLines
* tccgen.c: Bug fix for 992cbda and 3ff77a1: set nocode_wanted.Edmund Grimley Evans2015-11-211-0/+9
| | | | tests/tests2/78_vla_label.*: Add test.
* Improve constant propagation with "&&" and "||".Edmund Grimley Evans2015-11-201-1/+5
|
* tccgen.c: Recognise constant expressions with conditional operator.Edmund Grimley Evans2015-11-201-3/+14
| | | | tests/tests2/78_vla_label.c: Check that int a[1 ? 1 : 1] is not a VLA.
* add test case for VLA segfaultsPhilip2015-04-271-0/+21
This test obviously shouldn't segfault, but currently does so. The problem is in the VLA code, which fails to save the stack pointer before taking a conditional branch in some cases. See this thread: http://lists.nongnu.org/archive/html/tinycc-devel/2015-04/msg00130.html