https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124206

--- Comment #5 from Filip Kastl <pheeck at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #4)
> The compiler wants to have at least 64MB of stack (see toplev::main).

Thank you.  I didn't know about that.

I used soft limits.  Therefore I didn't crash GCC because it increased the
stack size limit.  I just tried using a hard limit and I can crash GCC by
limiting it to 16MB.  Doesn't change much about the PR but at least this got
cleared up.

My hypothesis is that asan instrumentation increases the size of stack frames
and therefore asan-instrumented GCC can't handle as much recursion.  Not sure
if that can be considered a bug.

Reply via email to