[PATCH][C++] Fix PR29433, make C++ use a lot less time/memory

Richard Guenther rguenther@suse.de
Mon Dec 11 15:33:00 GMT 2006

On Mon, 11 Dec 2006, Gabriel Dos Reis wrote:

> On Mon, 11 Dec 2006, Richard Guenther wrote:
> | > My inclination would be to make the change, and downgrade the error to
> | > pedwarn.  There's no need for it to be a hard error.
> |
> | Note that we cannot simply apply the proposed patch as it changes
> | debug info (and maybe also diagnostics, but at least we don't have
> | testsuite entry for regressions there).
> Is it because we would be accepting the program that we would
> be forced to change the debug info?

Parse error ;)  If we apply the patch I provided with the failing
testcase DECL_NAME would be different from now and we use DECL_NAME
to generate DW_AT_Name and friends.  At least for the dwarf entries
where we do not have a mangled name also (all the types), we need
something better than just the base name of the template (at the
moment we have the complete "diagnostic" name here).


Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs

More information about the Gcc-patches mailing list