On Thu, 31 May 2012, Jason Merrill wrote: > The comment mentions PCH in connection with deferred seting of > DECL_ASSEMBLER_NAME; off the top of my head it occurs to me that that might be > connected with anonymous unions, which need to have different linkage names in > different translation units.
Not sure when PCH generation happens (or when we call rest_of_type_compilation), but shouldn't that be way earlier than the debug output? Anyway, any suggestion on how to tackle the issue that we cannot compute new DECL_ASSEMBLER_NAMEs after the frontend is finished? Thanks, Richard.