This is the mail archive of the 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]

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

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 <>
Novell / SUSE Labs

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