This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]