On Wed, Jun 11, 2014 at 10:57 AM, Eric Botcazou <ebotca...@adacore.com> wrote:
>> Then why not just make the LTO front-end follow the existing semantics of
>> TREE_ADDRESSABLE and clear it when it figures out that the address is not
>> taken?  That would seem the natural thing to do here.
>
> I meant "clear the TREE_PUBLIC/DECL_EXTERNAL flags" of course...

But that's not possible - because the symbol may be referred to by
another partition.  Thus we make the symbols only with hidden
visibility but still TREE_PUBLIC.

Richard.

> --
> Eric Botcazou

Reply via email to