diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-01-03 17:16:04 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-01-03 17:16:04 +0000 |
commit | 5401a9ce8becdb7c441d5a0039555dc24d611ba2 (patch) | |
tree | 46177f22832f755e34be042b91555eedf10b4f66 /contrib/gcc/calls.c | |
parent | a7f8efad11bbd00375303fd0fb2686411c2ba494 (diff) | |
download | src-5401a9ce8becdb7c441d5a0039555dc24d611ba2.tar.gz src-5401a9ce8becdb7c441d5a0039555dc24d611ba2.zip |
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=70635
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 d0153a3d1249..36a5d154138b 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; |