aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-11-20 17:50:56 -0700
committerJeff Law <law@gcc.gnu.org>2001-11-20 17:50:56 -0700
commit1b735a5700b2b490eccc2dc62dd0179d5c79d211 (patch)
tree79c659aca2afde5bf26eaf87413a0d8ebb3dbcd8
parent92a2114171f4ab907f94f3629f1412579a8d8584 (diff)
downloadgcc-1b735a5700b2b490eccc2dc62dd0179d5c79d211.zip
gcc-1b735a5700b2b490eccc2dc62dd0179d5c79d211.tar.gz
gcc-1b735a5700b2b490eccc2dc62dd0179d5c79d211.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unroll.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a4eea6c..57c1677 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 5d9f18e..4b7dd97 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;