diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-14 08:06:22 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-14 08:06:22 +0000 |
commit | 959e44a6b37b825d1d4a4586c9e79c0d60bdb1c3 (patch) | |
tree | 1619465d7952c0bf055b6aae2ea9cf6e8e7c74b2 /gcc/calls.c | |
parent | dab3f1ae74a17d9200a7cb2b9e274a9097d8c08e (diff) | |
download | ppe42-gcc-959e44a6b37b825d1d4a4586c9e79c0d60bdb1c3.tar.gz ppe42-gcc-959e44a6b37b825d1d4a4586c9e79c0d60bdb1c3.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205982 138bc75d-0d04-0410-961f-82ee72b054a4
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 2226e78a489..501474b8b6d 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. */ |