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

--- Comment #28 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Mark Wielaard from comment #26)
> Created attachment 40233 [details]
> d_print_comp with 1 level of recursion protection
> 
> This is the variant that allows 1 level of recursion (with an xxx ??? to why
> 1 level). Plus various symbols added to demangle-expected from PRs that used
> to crash the demangler because of endless recursion.
> 
> The question now is whether this really is a good fix or if some of these
> symbols really should demangle to something meaningful.

It is always better not to crash. 

Please also note that Nathan's lambda demangling patch needs adjustments,
because with level 1 of recursion it prints everything twice.

Reply via email to