[Bug middle-end/17696] [cygwin] builtin alloca SIGSEGV with size too large
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 27 16:52:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-09-27 16:52 -------
The man page of alloca says:
RETURN VALUE
The alloca function returns a pointer to the beginning of
the allocated space. If the allocation causes stack overÂ
flow, program behaviour is undefined.
I guess you have to live with the fact that allocating large chunks of
memory on the stack isn't such a great idea.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17696
More information about the Gcc-bugs
mailing list