tinycc/tests
Thomas Preud'homme e3e5d4ad7a Disable C99 VLA when alloca is unavailable.
* Disable C99 VLA detection when alloca is unavailable and protect the
  new reference to TOK_alloca in decl_initializer in order to compile
  and run for architecture without working alloca.

  Not all code of C99 VLA is commented as it would required many ifdef
  stanza. Just the detection is commented so that VT_VLA is never set
  any type and the C99 VLA code is compiled but never called. However
  vpush_global_sym(&func_old_type, TOK_alloca) in decl_initializer needs
  to be protected by an ifdef stanza as well because it uses TOK_alloca.

* include alloca and C99 VLA tests according to availability of
  TOK_alloca instead of relying on the current architecture
2011-02-04 15:24:48 +01:00
..
asmtest.S tccasm: accept bracketed offset expressions 2011-02-01 15:53:48 -08:00
boundtest.c x86-64: chkstk, alloca 2009-07-18 22:06:54 +02:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tcc_relocate: revert to 0.9.24 behavior 2009-12-19 22:16:23 +01:00
Makefile weak definitions overrule non-weak prototypes 2011-02-01 09:41:03 -08:00
tcctest.c Disable C99 VLA when alloca is unavailable. 2011-02-04 15:24:48 +01:00