Commit deb1de67 by Tom de Vries Committed by Tom de Vries

Fix REG_PARM_STACK_SPACE usage in expand_call

2013-12-14  Tom de Vries  <tom@codesourcery.com>

	* calls.c (expand_call): Fix REG_PARM_STACK_SPACE comparison.

From-SVN: r205982
parent ecec9b57
2013-12-14 Tom de Vries <tom@codesourcery.com>
* calls.c (expand_call): Fix REG_PARM_STACK_SPACE comparison.
2013-12-13 DJ Delorie <dj@redhat.com>
* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.
......@@ -2595,7 +2595,7 @@ expand_call (tree exp, rtx target, int ignore)
/* If outgoing reg parm stack space changes, we can not do sibcall. */
|| (OUTGOING_REG_PARM_STACK_SPACE (funtype)
!= OUTGOING_REG_PARM_STACK_SPACE (TREE_TYPE (current_function_decl)))
|| (reg_parm_stack_space != REG_PARM_STACK_SPACE (fndecl))
|| (reg_parm_stack_space != REG_PARM_STACK_SPACE (current_function_decl))
#endif
/* Check whether the target is able to optimize the call
into a sibcall. */
......
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