OSDN Git Service

* unroll.c (copy_loop_body): Update LABEL_NUSES for the
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Nov 2001 00:50:56 +0000 (00:50 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Nov 2001 00:50:56 +0000 (00:50 +0000)
        exit label as necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47227 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/unroll.c

index a4eea6c..57c1677 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-20  Jeff Law <law@redhat.com>
+
+       * unroll.c (copy_loop_body): Update LABEL_NUSES for the
+       exit label as necessary.
+
 2001-11-20  Brad Kaiser  <bkaiser@acelink.net>
  
        * reload1.c (elimination_effects): Use function_invariant_p
index 5d9f18e..4b7dd97 100644 (file)
@@ -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;