Hi Bruno, Bruno Haible wrote: > You're just scratching the surface. More importantly, the 'alloca' > module cannot be used _at_all_ in code meant to be used in multiple > threads. > 1. because the stack size for threads is often smaller than > the stack size of the main thread. (16 KB vs. 8 MB, or so.) > You have to use module 'safe-alloca' instead. > 2. because the alloca.c code assumes that there is a "stack > direction". This is not the case any more with GCC's new > "split stacks" <http://gcc.gnu.org/wiki/SplitStacks>.
Is #2 really relevant? alloca.c is compiled with gcc only for 1.x versions.