This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fix __func__ for C++ destructors
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Matt Austern <austern at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 04 Sep 2003 20:55:15 +0200
- Subject: Re: PATCH: fix __func__ for C++ destructors
- Organization: Integrable Solutions
- References: <26B84CD7-DF05-11D7-9D48-00039390D9E0@apple.com>
Matt Austern <austern@apple.com> writes:
| The problem is in c-common.c, in fname_as_string. It thinks that the
| contents of DECL_NAME is an acceptable human-readable string.
| Sometimes that assumption is right, sometimes it isn't. The right way
| to get a short human-readable string is to use
| *lang_hooks.decl_printable_name with verbosity 0.
Sounds good to me. But I do not have authority to approve it ;-/
-- Gaby