https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Generic code already checks "naked" attribute in a bunch of places, no need to
add a target hook IMHO.
attribs.c:  /* A "naked" function attribute implies "noinline" and "noclone"
for
attribs.c:      && lookup_attribute ("naked", attributes) != NULL
attribs.c:      && lookup_attribute_spec (get_identifier ("naked")))
bb-reorder.c:     && !lookup_attribute ("naked", DECL_ATTRIBUTES (fun->decl))
cfgexpand.c:          if (lookup_attribute ("naked",

Reply via email to