OSDN Git Service

* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2001 17:08:12 +0000 (17:08 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2001 17:08:12 +0000 (17:08 +0000)
creating a new jump insn.

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

gcc/ChangeLog
gcc/unroll.c

index e7e264a..9eb2c0a 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 9a9d432..5d9f18e 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;