diff options
author | Tom de Vries <tom@codesourcery.com> | 2013-12-14 08:06:22 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2013-12-14 08:06:22 +0000 |
commit | deb1de6782e139ccbccc6d4e5dc20c8c320eef78 (patch) | |
tree | 1619465d7952c0bf055b6aae2ea9cf6e8e7c74b2 /gcc/calls.c | |
parent | ecec9b57e1825df79d570b084495c7428fa39e46 (diff) | |
download | gcc-deb1de6782e139ccbccc6d4e5dc20c8c320eef78.zip gcc-deb1de6782e139ccbccc6d4e5dc20c8c320eef78.tar.gz gcc-deb1de6782e139ccbccc6d4e5dc20c8c320eef78.tar.bz2 |
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
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 2226e78..501474b 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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. */ |