This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug demangler/70909] Libiberty Demangler segfaults (4)


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]