https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #362 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #361) > Do you know if there's any particular reason why sfunc on SH can't be done > via regular call insn path? I can imagine it was originally done to > optimize the number/types of regs used/clobbered by the sfunc libcall. Now > I'm wondering if the same could be achieved using the regular call insn path > ... (to better follow LRA's assumptions) I know nothing about the origin of sfuncs. It seems to me that your assumption for the sfunc is right.