diff options
author | obrien <obrien@FreeBSD.org> | 2001-01-03 17:16:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-01-03 17:16:04 +0000 |
commit | e103926ab58446425b46d5df55c940db3abeff84 (patch) | |
tree | 46177f22832f755e34be042b91555eedf10b4f66 /contrib/gcc/calls.c | |
parent | d566d0a5f8c3f4d187ecbf8096628e9ae9dd3567 (diff) | |
download | FreeBSD-src-e103926ab58446425b46d5df55c940db3abeff84.zip FreeBSD-src-e103926ab58446425b46d5df55c940db3abeff84.tar.gz |
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1
Diffstat (limited to 'contrib/gcc/calls.c')
-rw-r--r-- | contrib/gcc/calls.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/gcc/calls.c b/contrib/gcc/calls.c index d0153a3..36a5d15 100644 --- a/contrib/gcc/calls.c +++ b/contrib/gcc/calls.c @@ -405,7 +405,15 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size, #ifndef ACCUMULATE_OUTGOING_ARGS #if defined (HAVE_call_pop) && defined (HAVE_call_value_pop) - if (HAVE_call_pop && HAVE_call_value_pop && n_popped > 0) +/* If the target has "call" or "call_value" insns, then prefer them + if no arguments are actually popped. If the target does not have + "call" or "call_value" insns, then we must use the popping versions + even if the call has no arguments to pop. */ + if (HAVE_call_pop && HAVE_call_value_pop +#if defined (HAVE_call) && defined (HAVE_call_value) + && (n_popped > 0 || ! HAVE_call || ! HAVE_call_value) +#endif + ) { rtx n_pop = GEN_INT (n_popped); rtx pat; |