https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Martin Liška from comment #2) > Started with r12-5522-g661c02e54ea72fb5, note that ulimit -s 600 works fine > and I'm not fully convinced such a small stack limit should be an issue? > > Shouldn't we documented what's expected (required) minimal stack for GCC? The testcase is quite small though and for example on SLES the default stack size limit is 8192. But yes, we have other cases that recursively visit SSA use-def chains (which is exactly the case here), like SCEV, but IIRC all of those have limits in place (at the expense of missed optimizations, of course).