[Bug c++/70909] Libiberty Demangler segfaults (4)
mark at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 2 17:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909
Mark Wielaard <mark at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40230|0 |1
is obsolete| |
Attachment #40231|0 |1
is obsolete| |
--- Comment #26 from Mark Wielaard <mark at gcc dot gnu.org> ---
Created attachment 40233
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40233&action=edit
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.
More information about the Gcc-bugs
mailing list