> Hi. > > This is a first part fixing the PR. It makes sense making "naked" functions > "noipa". > What's missing is IPA MOD pass support where the pass should not optimize fns > with "noipa" attributes. > > @Honza: Can you please implement that?
Hmm, I had patch for that somewhere, will do that. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK, except for.. > + && lookup_attribute_spec (get_identifier ("naked")) > + &&(lookup_attribute ("noipa", attributes) == NULL)) missing space or extra braces here. I am not sure how much we play with NULL_TREE these days. Honza > + attributes = tree_cons (get_identifier ("noipa"), NULL, attributes); > /* A "noipa" function attribute implies "noinline", "noclone" and "no_icf" > for those targets that support it. */ > -- > 2.32.0 >