This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR53471, remove DECL_ASSEMBLER_NAME deferred compute
- From: Richard Guenther <rguenther at suse dot de>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Jun 2012 11:22:24 +0200 (CEST)
- Subject: Re: [PATCH] Fix PR53471, remove DECL_ASSEMBLER_NAME deferred compute
- References: <Pine.LNX.4.64.1205311750110.5860@jbgna.fhfr.qr> <4FC7D28E.5010801@redhat.com>
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.