From 3bdf58486dbd0f79546c871c118d6f218516db71 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Sat, 1 Jan 2000 12:12:10 +0000 Subject: [PATCH] Avoid losing pending stack adjusts. From-SVN: r31156 --- gcc/ChangeLog | 5 +++++ gcc/expmed.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acf044a9c85..ccad086bf94 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-01-01 Bernd Schmidt + + * expmed.c (emit_store_flag): Prevent losing a pending stack + adjust the same way we prevent losing queued increments. + Fri Dec 31 19:10:31 1999 Richard Kenner * function.c (update_temp_slot_address): Handle case where sum of diff --git a/gcc/expmed.c b/gcc/expmed.c index be458ce8d05..1c9781d1baf 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -4229,9 +4229,11 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) comparison and then the scc insn. compare_from_rtx may call emit_queue, which would be deleted below - if the scc insn fails. So call it ourselves before setting LAST. */ + if the scc insn fails. So call it ourselves before setting LAST. + Likewise for do_pending_stack_adjust. */ emit_queue (); + do_pending_stack_adjust (); last = get_last_insn (); comparison -- 2.30.2