]> git.saurik.com Git - bison.git/commit - tests/torture.at
tests: address a warning from GCC 4.4
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 25 Oct 2012 12:42:24 +0000 (14:42 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 25 Oct 2012 12:42:24 +0000 (14:42 +0200)
commit54dccdb2ca8bafc7c7556c6b1426caa8feaa5ebe
tree7396b71e81a2c0c59426098e5651dde34d8d5981
parent324a5576515921a9c41913833cacde6dadee303a
tests: address a warning from GCC 4.4

236. torture.at:465: testing Exploding the Stack Size with Alloca ...
../../../tests/torture.at:474: bison -o input.c input.y
../../../tests/torture.at:474: $CC $CFLAGS $CPPFLAGS $LDFLAGS -o input input.c $LIBS
stderr:
cc1: warnings being treated as errors
input.y: In function 'main':
input.y:60: error: 'status' may be used uninitialized in this function

* tests/torture.at (AT_DATA_STACK_TORTURE): Initial status to avoid
the previous error.
tests/torture.at