Fix a vax failure

From-SVN: r38462
This commit is contained in:
Bernd Schmidt
2000-12-22 14:55:10 +00:00
committed by Bernd Schmidt
parent a9632baabf
commit 3e730fb8db
2 changed files with 12 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2000-12-22 Bernd Schmidt <bernds@redhat.co.uk>
* calls.c (emit_call_1): Fall back to call_pop/call_value_pop if no
non-popping calls are available.
* flow.c (propagate_block): Use flow_delete_insn instead of
NOTEifying a dead ADDR_VEC.

View File

@@ -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;