From 1b735a5700b2b490eccc2dc62dd0179d5c79d211 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 20 Nov 2001 17:50:56 -0700 Subject: [PATCH] unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary. * unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary. From-SVN: r47227 --- gcc/ChangeLog | 5 +++++ gcc/unroll.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4eea6c6cda..57c1677c6a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Jeff Law + + * unroll.c (copy_loop_body): Update LABEL_NUSES for the + exit label as necessary. + 2001-11-20 Brad Kaiser * reload1.c (elimination_effects): Use function_invariant_p diff --git a/gcc/unroll.c b/gcc/unroll.c index 5d9f18e34a1..4b7dd974925 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -2075,6 +2075,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration, that. */ jmp = emit_jump_insn_after (gen_jump (exit_label), copy); JUMP_LABEL (jmp) = exit_label; + LABEL_NUSES (exit_label)++; jmp = emit_barrier_after (jmp); emit_label_after (lab, jmp); LABEL_NUSES (lab) = 0; -- 2.30.2