[RFC] noipa attribute (was Re: How to avoid constant propagation into functions?)

Florian Weimer fw@deneb.enyo.de
Thu Dec 15 18:11:00 GMT 2016


* 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.



More information about the Gcc mailing list