This is the mail archive of the
mailing list for the GCC project.
Re: RFA (varpool): PATCH to add forward-compatibility aliases for C++ ABI bugs
- From: Jason Merrill <jason at redhat dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: "Hubicha, Jan" <jh at suse dot cz>, gcc-patches List <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 26 Feb 2010 08:41:20 -0500
- Subject: Re: RFA (varpool): PATCH to add forward-compatibility aliases for C++ ABI bugs
- References: <4B86F28D.email@example.com> <firstname.lastname@example.org>
On 02/26/2010 05:48 AM, Richard Guenther wrote:
Apart from being cleaner does it offer any functional advantage
over using the existing alias machinery (the vector of alias_pairs
emitted via finish_aliases_*)?
The difference is that alias_pairs are always emitted, and cause the
target to be needed, whereas same body/extra name aliases are only
emitted if the target is. I'll add that to the comment.
In fact you probably need to adjust the LTO streamer and symtab
merger for your change (while it should handle alias_pairs already).
I thought about that, but varpool nodes are not streamed.