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] |
- From: Michael Matz
- To: Richard Guenther
- Cc: Mark Mitchell , Daniel Jacobowitz , Gabriel Dos Reis , gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Feb 2007 16:00:56 +0100 (CET)
- Subject: Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- References: 457D726E.7060905@redhat.com Pine.LNX.4.64.0612111628100.3105@zhemvz.fhfr.qr <Pine.GSO.4.58.0612110926270.19022@sun> Pine.LNX.4.64.0612111635030.3105@zhemvz.fhfr.qr 457D7AB1.10706@redhat.com Pine.LNX.4.64.0612111647520.3105@zhemvz.fhfr.qr 20061211155733.GA2660@nevyn.them.org Pine.LNX.4.64.0612111658590.29962@wotan.suse.de 20061211174548.GA7094@nevyn.them.org Pine.LNX.4.64.0612121519200.29962@wotan.suse.de 20061212150652.GA18750@nevyn.them.org Pine.LNX.4.64.0612121723070.29962@wotan.suse.de 457EF130.5040902@codesourcery.com Pine.LNX.4.64.0612131535100.29962@wotan.suse.de 4580405A.4000109@codesourcery.com <Pine.LNX.4.64.0702201500170.25448@wotan.suse.de> <Pine.LNX.4.64.0702201549330.18923@zhemvz.fhfr.qr>
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.
- References:
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
* From: Michael Matz - Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
* From: Richard Guenther
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |