diff options
| author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-04 04:02:25 +0000 |
|---|---|---|
| committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-04 04:02:25 +0000 |
| commit | a864723e2f06c81a310b5dbf77045b4ae4987321 (patch) | |
| tree | 54dae2246a8389b0e61505eb62100092e0a45ba2 /gcc | |
| parent | feb36525af586bcc643c33c958dc08fc85f2faab (diff) | |
| download | ppe42-gcc-a864723e2f06c81a310b5dbf77045b4ae4987321.tar.gz ppe42-gcc-a864723e2f06c81a310b5dbf77045b4ae4987321.zip | |
* calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
RETURN_POPS_ARGS().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/calls.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 220929fa569..eb01f208f46 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-11-04 Alexandre Oliva <aoliva@redhat.com> + + * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of + RETURN_POPS_ARGS(). + 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu> * builtins.c (expand_builtin_strlen): Remove unused mode diff --git a/gcc/calls.c b/gcc/calls.c index da850ccada4..09f08e4027a 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -473,10 +473,9 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size, #if defined (HAVE_sibcall_pop) && defined (HAVE_sibcall_value_pop) if ((ecf_flags & ECF_SIBCALL) && HAVE_sibcall_pop && HAVE_sibcall_value_pop - && (RETURN_POPS_ARGS (fndecl, funtype, stack_size) > 0 - || stack_size == 0)) + && (n_popped > 0 || stack_size == 0)) { - rtx n_pop = GEN_INT (RETURN_POPS_ARGS (fndecl, funtype, stack_size)); + rtx n_pop = GEN_INT (n_popped)); rtx pat; /* If this subroutine pops its own args, record that in the call insn |

