[Bug target/55212] [SH] Switch from IRA to LRA

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 25 06:59:00 GMT 2014


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.



More information about the Gcc-bugs mailing list