From: law Date: Wed, 21 Nov 2001 00:50:56 +0000 (+0000) Subject: * unroll.c (copy_loop_body): Update LABEL_NUSES for the X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0b97e93b472d6b86926d8d9c4e1414df557c3959 * unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47227 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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;