[Bug demangler/70909] Libiberty Demangler segfaults (4)
palves at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 13 10:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909
--- Comment #52 from Pedro Alves <palves at redhat dot com> ---
(In reply to Mark Wielaard from comment #51)
> (In reply to Mark Wielaard from comment #50)
> > But maybe the cplus_demangle_fill_xxx functions should do this initializing
> > instead? In that case gdb only needs to handle initializing d_printing for
> > its own make_empty function.
>
> yeah, I am convinced that is the more correct approach. Proposed patch:
> https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00622.html
Agreed.
More information about the Gcc-bugs
mailing list