On Thu, 15 Dec 2016, Florian Weimer wrote:

> * Jakub Jelinek:
> 
> > +      if (lookup_attribute ("used", attributes) == NULL)
> > +   attributes = tree_cons (get_identifier ("used"),  NULL, attributes);
> 
> Attribute “used” seems different to me from the rest.  Based on the
> documentation, I wouldn't expect it to have any action-at-a-distance
> effect, just that an out-of-line copy is always emitted.  It will
> disable unused-function warnings, too, I think.

Yes, technically cloning on "known" callgraph paths is still possible
with 'used' functions.

Reply via email to