]> git.saurik.com Git - bison.git/commit
More alloca cleanups.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Sep 2005 19:54:48 +0000 (19:54 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Sep 2005 19:54:48 +0000 (19:54 +0000)
commit0d50976f3c7b4e74e8cbe32dbeb0312a7845ca14
tree2d9d922383ef3bf0015b5f8bc66b74d77e7f0280
parentac2434287dec56d58b12c27c752321dc7d971bf3
More alloca cleanups.

* bootstrap (gnulib_modules): Remove alloca.  Bison doesn't need
it itself.
* src/main.c (main) [C_ALLOCA]: Don't flush alloca'ed memory; we
don't use alloca any more.

* data/yacc.c [YYSTACK_USE_ALLOCA && !defined __GNUC__ && ! defined
__BUILTIN_VA_ARG_INCR && ! defined _AIX && ! defined _MSC_VER &&
(defined alloca || defined _ALLOCA_H)]: Don't include <stdlib.h>;
not needed in this case.
* tests/torture.at (Exploding the Stack Size with Alloca): Adjust
to match yacc.c, to test more hosts.
ChangeLog
bootstrap
data/yacc.c
src/main.c
tests/torture.at