sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler.

* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
	function is an interrupt handler.

From-SVN: r65204
This commit is contained in:
J"orn Rennecke 2003-04-03 17:01:34 +00:00 committed by Joern Rennecke
parent 8d3b095348
commit 70aadfcca2
2 changed files with 9 additions and 5 deletions

View File

@ -1,8 +1,11 @@
Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com>
Thu Apr 3 17:57:59 2003 J"orn Rennecke <joern.rennecke@superh.com>
* Avoid clash of temp register for restoring target registers
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin
fashion.
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
function is an interrupt handler.
* sh.c (sh_expand_epilogue): Avoid clash of temp register for
restoring target registers with EH_RETURN_STACKADJ_RTX; use
multiple registers in round-robin fashion.
2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

View File

@ -7934,7 +7934,8 @@ sh_function_ok_for_sibcall (decl, exp)
{
return (decl
&& (! TARGET_SHCOMPACT
|| current_function_args_info.stack_regs == 0));
|| current_function_args_info.stack_regs == 0)
&& ! sh_cfun_interrupt_handler_p ());
}
/* Machine specific built-in functions. */