From: Richard Stallman Date: Tue, 1 Sep 1992 20:31:58 +0000 (+0000) Subject: (emit_insns_after): Update last_insn if nec. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4d990db04098a51f92128dd7eaac3298b5cb95f;p=gcc.git (emit_insns_after): Update last_insn if nec. From-SVN: r2016 --- diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c0e18a038e0..b7c66ab681a 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -2213,6 +2213,8 @@ emit_insns_after (first, after) if (after_after) PREV_INSN (after_after) = last; + if (after == last_insn) + last_insn = last; return last; }