https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19852
--- Comment #8 from yjf.victor at foxmail dot com --- It seems that the stack size is unlimited. ``` % limit cputime unlimited filesize unlimited datasize unlimited stacksize unlimited coredumpsize unlimited vmemoryuse unlimited descriptors 1024 % limit -h cputime unlimited filesize unlimited datasize unlimited stacksize unlimited coredumpsize unlimited vmemoryuse unlimited descriptors 1024 ``` However, it fails at `alloca()` when it only try to allocate `31 * sizeof(struct mode_data *)` bytes of memory. ``` Breakpoint 1, _Z15calc_wider_modev () at /dev/fs/E/22/gcc/gcc-5.5.0/gcc/genmodes.c:851 851 sortbuf = XALLOCAVEC (struct mode_data *, max_n_modes + 1); (gdb) p max_n_modes $1 = 31 (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x0083ff7a in ?? () (gdb) ```