aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc_int/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc_int/loop.c')
-rw-r--r--gnu/usr.bin/cc/cc_int/loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_int/loop.c b/gnu/usr.bin/cc/cc_int/loop.c
index 32f39242a319..123c01383bf3 100644
--- a/gnu/usr.bin/cc/cc_int/loop.c
+++ b/gnu/usr.bin/cc/cc_int/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 ();