This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC] PR target/15130 SH: A tail call optimization
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: kkojima at rr dot iij4u dot or dot jp (Kaz Kojima)
- Cc: joern dot rennecke at superh dot com, gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Mon, 10 May 2004 15:33:27 +0100 (BST)
- Subject: Re: [PATCH/RFC] PR target/15130 SH: A tail call optimization
> It clearly should be
>
> if (temp < 0 && ! current_function_interrupt
> && (TARGET_SHMEDIA || epilogue_p >= 0))
> {
> ...
> if (epilogue_p > 0)
> {
> ...
> }
> if (TARGET_SHMEDIA && epilogue_p < 0)
> for (i = FIRST_TARGET_REG; i <= LAST_TARGET_REG; i++)
> CLEAR_HARD_REG_BIT (temps, i);
>
> Is this change ok?
Yes, OK.