unroll.c (copy_loop_body): Initialize JUMP_LABEL field after creating a new jump...
authorJeff Law <law@gcc.gnu.org>
Fri, 16 Nov 2001 17:08:12 +0000 (10:08 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 16 Nov 2001 17:08:12 +0000 (10:08 -0700)
* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
creating a new jump insn.

From-SVN: r47090

gcc/ChangeLog
gcc/unroll.c

index e7e264a369d667d3b377894ab439dd52a75ccc22..9eb2c0af9ce7c336fdc16e78c567c7d3de699884 100644 (file)
@@ -1,4 +1,9 @@
-Fri Nov 16 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+2001-11-16  Jeff Law  <law@redhat.com>
+
+       * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
+       creating a new jump insn.
+
+Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
        copy misaligned data.
index 9a9d432dd11127325a10f7089a86a459a2f05aac..5d9f18e34a18d1a29b3185d1cc847c497064854b 100644 (file)
@@ -2074,6 +2074,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration,
                     jump_insn after COPY, and redirect the jump around
                     that.  */
                  jmp = emit_jump_insn_after (gen_jump (exit_label), copy);
+                 JUMP_LABEL (jmp) = exit_label;
                  jmp = emit_barrier_after (jmp);
                  emit_label_after (lab, jmp);
                  LABEL_NUSES (lab) = 0;