The function alloca (for cygwin/mingw target _alloca) is broken or not available (for linux64), when using option -fno-builtin.
The linux and win32 targets the symbol alloca isn't present. For windows targets there is an implementation (_alloca) in gcc/config/i386/cygwin.asm present. But when using this, the stack layout is broken after calling alloca. The attached example shows the failure for i?86 and x86_64 windows targets pretty well. -- Summary: alloca broken for -fno-builtin Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ktietz at gcc dot gnu dot org GCC host triplet: x86_64-pc-linux GCC target triplet: x86_64-*-* i686-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41001