This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Prevent double execution of MIPS call stubs
Richard Sandiford <rsandifo@nildram.co.uk> writes:
> gcc/
> * config/mips/mips.c (mips_expand_call): Use FAKE_CALL_REGNO.
> (mips_avoid_hazard): Allow multiple sets for HAZARD_DELAY,
> and pick the first.
> * config/mips/mips.md (load_call<mode>): Don't make the unspec
> depend on FAKE_CALL_REGNO. Set FAKE_CALL_REGNO.
Since this is a regression, I've backported it to the 4.2 branch
after regression-testing on mips-linux-gnu.
Richard