Michael Matz - Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

Hi,

On Tue, 20 Feb 2007, Richard Guenther wrote:

I noticed dwarf_name is mapped to decl_printable_name for C++ and we can gain another xstrdup/free if we implement the dwarf_name langhook for C++ by simply using cp/error.c:lang_decl_name. This way we avoid using the cxx_printable_name ring buffer for function decls.

Yes, that's possible.

Ciao, Michael.


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