This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA (varpool): PATCH to add forward-compatibility aliases for C++ ABI bugs
On Fri, Feb 26, 2010 at 2:41 PM, Jason Merrill <jason@redhat.com> wrote:
> 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.
Ah, indeed.
>> 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.
I think we walk them and stream the decls. Do we need to make
sure to also stream the new aliases?
Richard.
> Jason
>