mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 01:20:48 +08:00
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
This commit is contained in:
parent
ecec9b57e1
commit
deb1de6782
@ -1,3 +1,7 @@
|
||||
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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user