https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- Running out of stack space is not acceptable, that's why this is considered a bug. As already stated in comment 8, I started work on fixing it, but the rewritten code had bugs that I haven't had time to resolve yet.