From: Bernd Schmidt Date: Thu, 30 Nov 2000 11:49:02 +0000 (+0000) Subject: Backport a change to the 2.95 branch X-Git-Tag: prereleases/gcc-2.95.3-test1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d98e9cde56f92f999ac1af04f61eab2c33066432;p=thirdparty%2Fgcc.git Backport a change to the 2.95 branch From-SVN: r37874 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af8ef3d16127..78677b51c569 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-11-30 Bernd Schmidt + + 2000-01-01 Bernd Schmidt + * expmed.c (emit_store_flag): Prevent losing a pending stack + adjust the same way we prevent losing queued increments. + 2000-10-27 Bernd Schmidt * expr.c (expand_expr, case INDIRECT_REF): If the address is a diff --git a/gcc/expmed.c b/gcc/expmed.c index ffe16fedaf47..dd5973dae4bb 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -4194,9 +4194,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