On Thu, May 31, 2018 at 11:46:33AM +0200, Richard Biener wrote:
> Is naked an attribute that is specified for all targets?  If so, OK. 

It is not specified for all targets, but all targets for which it is
specified have the same behavior.
We handle "naked" a couple of times in the generic code already, e.g. in
attribs.c (naked implies noinline/noclone), or in cfgexpand.c (refuse
allocation of vars on the stack for "naked" functions).

> Otherwise we may instead want to add a target hook for whether a function
> has a prologue/epilogue?

        Jakub

Reply via email to