https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60919
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|arm |arm sh*-*-* --- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> --- As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15473#c5 most libcalls don't go through the regular call expansion path and they are just treated as regular non-jump insns, so no call related optimizations can ever happen there. At least on SH that's the way it is, from what I remember.