From: Richard Kenner Date: Thu, 17 Nov 1994 00:28:34 +0000 (-0500) Subject: (move_movables): For move_insn case, skip notes when deleting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd202606f5436e906df611afcafb9006c76ce56f;p=gcc.git (move_movables): For move_insn case, skip notes when deleting instructions. From-SVN: r8475 --- diff --git a/gcc/loop.c b/gcc/loop.c index 32f39242a31..123c01383bf 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -1685,6 +1685,8 @@ move_movables (movables, threshold, insn_count, loop_start, end, nregs) } p = delete_insn (p); + while (p && GET_CODE (p) == NOTE) + p = NEXT_INSN (p); } start_sequence ();