https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #34 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- (In reply to Hans-Peter Nilsson from comment #33) > Will clobbering function-value registers before the call not cause problems > on SH5, where function-value registers and parameters registers overlap > (IIUC)? Yes. I've forgot about SH5. Thanks for pointing it out. The patch should be conditionalized for SH5 on which this issue won't happen. > For reference, i386.md emits a blockage (i.e. *using* and clobbering all > registers). It looks all ports including SH emit a blockage after storing the function return values to a memory block, not before the call.