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: [LTO] free_language_specifics crashes C++ pretty-printer


2008/10/9 Richard Guenther <richard.guenther@gmail.com>:

> Ok.  Still as this is a debugging/diagnostic function only, maybe
> the simplest thing is to just not use the langhook but use
> DECL_NAME always.  Or DECL_ASSEMBLER_NAME, as this is more specific in
> the C++ case?

Agreed.  Unconditionally emitting DECL_NAME/DECL_ASSEMBLER_NAME is
what we should do here.  For future diagnostics, we will probably need
to use the demangler or store demangled names in the lto output.


Diego.


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