--- Comment #20 from Mark Wielaard <mark at gcc dot> ---
Created attachment 40213
Add is_cyclic check to d_lookup_template_argument

The patch that Marcel originally proposed tried to catch any recursive printing
and if so stop (but not fail) the demangling.

The reviews seemed to suggest that people found this a bit too costly and that
the check should be more specific and that it should produce an error.

So maybe we should extract the cyclic detection so it can be used in "debug
mode" and inserted in the "right place".

The attached does that (minus adding a debug mode) and catches some of the

Reply via email to