https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #12 from Andrew Macleod <amacleod at redhat dot com> --- My understanding from a quick check around is we usually expect 8-10 MB of stack space. I have an idea how to flatten the call stack a bit, so leave this open for that purpose if nothing else.