https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 --- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- So somehow the consensus was that IPA-RA needs to be told what to do about naked functions. IPA-RA is new in GCC 5. I'm not sure whether there already exists a hook for targets to use.