------- Comment #3 from rguenth at gcc dot gnu dot org  2010-04-23 13:23 -------
(In reply to comment #2)
> Because we drop DECL_CONTEXT.

Rather because lang_hooks.dwarf_name returns what
lang_hooks.decl_printable_name
returns which in turn returns DECL_NAME.

We can either save what the langhook produces in DECL_NAME during fld or
for example use the assembler name (which is mangled).  Of course the
langhook has a variant to request a name with or without the scope ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43377

Reply via email to