Work-around bug in GCC 4.4.5
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Apr 2013 05:34:28 +0000 (07:34 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Apr 2013 05:48:42 +0000 (07:48 +0200)
commitc7711e39f523f206a74f5d0f52480ad10267e0ca
tree9a5ae624470105e931ea3b657ca0275cbcb44a17
parent8f885c554e37cd066898e18b9c0752ac0e57b3dd
Work-around bug in GCC 4.4.5

Gcc 4.4.5 seems to be buggy.  For some reason it miscompiles the code in
casereader_count_cases__ when compiled with -O2 by not allocating enough
stack.  This commit works around that problem by putting a dummy variable
on the stack.

Reviewed-by Ben Pfaff.
src/data/casereader.c