This is the mail archive of the gcc-patches@gcc.gnu.org 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: fix __func__ for C++ destructors


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


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