Commit 70aadfcc by J"orn Rennecke Committed by Joern Rennecke

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
parent 8d3b0953
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 * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin function is an interrupt handler.
fashion.
* 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> 2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
......
...@@ -7934,7 +7934,8 @@ sh_function_ok_for_sibcall (decl, exp) ...@@ -7934,7 +7934,8 @@ sh_function_ok_for_sibcall (decl, exp)
{ {
return (decl return (decl
&& (! TARGET_SHCOMPACT && (! 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. */ /* Machine specific built-in functions. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment