This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Richard Guenther <rguenther at suse dot de>, Gabriel Dos Reis <gdr at cs dot tamu dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Feb 2007 09:37:31 -0500
- Subject: Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- References: <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>
Thanks for doing this! But unfortunately...
On Tue, Feb 20, 2007 at 03:24:20PM +0100, Michael Matz wrote:
> - .string "_Ios_Openmode"
> + .string "std::_Ios_Openmode"
> - .string "new_allocator<char>"
> + .string "__gnu_cxx::new_allocator<char>"
These are more incorrect than the current names. They're inside a
DW_TAG_namespace scope, so GDB goes to a lot of trouble to prepend the
namespace to the specified name. It'll get std::std::_Ios_Openmode
and I think that's the right interpretation of this debug info.
Is there some way we can lose the initial scope?
> - .string "._16"
> + .string "<anonymous struct>::<anonymous union>"
(dunno about this one, maybe it shouldn't have a DW_AT_name at all?)
--
Daniel Jacobowitz
CodeSourcery