This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug demangler/70909] Libiberty Demangler segfaults (4)
- From: "palves at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Mar 2017 10:43:26 +0000
- Subject: [Bug demangler/70909] Libiberty Demangler segfaults (4)
- Auto-submitted: auto-generated
- References: <bug-70909-4@http.gcc.gnu.org/bugzilla/>
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.