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]

[debug-early] remove deferred_asm_name


As discussed in previous threads, we need to get rid of deferred_asm_name (and limbo nodes, etc) as part of the debug-early work.

The original patch for deferred_asm_name came in Alex's patch here:

https://gcc.gnu.org/ml/gcc-patches/2009-06/msg00030.html

One alternative to avoid this mechanism would be to to provide a non destructive decl_assembler_name() variant that would just return the mangled name, but without setting the .assembler_name field and triggering the template instantiation Alex speaks of. I had a patch for this, but Jason was skeptical that the instantiation was still happening. At Jason's request, I have removed deferred_asm_name altogether, and tested it by a full bootstrap on _mainline_.

Unless someone can come up with a testcase for the instantiation problem, I am going to commit this to the branch within a day or two.

Jason/Richi: Does this patch look reasonable?

Thanks.
Aldy

Attachment: curr
Description: Text document


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