This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA (varpool): PATCH to add forward-compatibility aliases for C++ ABI bugs


On Fri, Feb 26, 2010 at 8:18 PM, Jason Merrill <jason@redhat.com> wrote:
> On 02/26/2010 08:52 AM, Richard Guenther wrote:
>>
>> 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:
>
>>>> 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.
>
> Ah, I see where they're written out (output_unreferenced_globals), but not
> where they are read back in. ?All I see is this bit in input_alias_pairs:

They are read back in as decls and simply registered with the varpool.
Thus, if we want to deal with varpool aliases we probably have to start
to stream the varpool nodes explicitly.

Richard.

>> ?/* Skip over all the unreferenced globals. ?*/
>> ?do
>> ? ?var = lto_input_tree (ib, data_in);
>> ?while (var);
>
> Jason
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]