https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943
--- Comment #27 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Alexander Monakov from comment #26) > Would that help? GCC raises its own stack limit to 64MB: > > gcc.cc: stack_limit_increase (64 * 1024 * 1024); > toplev.cc: stack_limit_increase (64 * 1024 * 1024); Oh I forgot about that.