The code will run a little slower, in particular for smaller numbers.
Which version of gmp are you using, and which function(s) were responsible for that large stack allocation? I don't think GMP is supposed to allocate large numbers on the stack. Try sending a bug report to gmp-bugs@swox.com.
/ Niels Möller (igelkottsräddare)
Previous text:
2003-11-20 02:57: Subject: Strange GMP coredumps
I don't know of a reason not to use --enable-alloca=malloc-reentrant yet. (I just did this myself.) I guess we should really try to alert the GMP authors, debian maintainers etc. to this isse and try to get them to use malloc-reentrant by default instead of just "reentrant".
/ Fredrik (Naranek) Hubinette (Real Build Master)