From: Jeff Law Date: Wed, 21 Nov 2001 00:50:56 +0000 (-0700) Subject: unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b735a5700b2b490eccc2dc62dd0179d5c79d211;p=gcc.git 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 --- 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;