This is the mail archive of the gcc@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: [RFC] noipa attribute (was Re: How to avoid constant propagation into functions?)


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.

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