From bcb0771008411d91a4add522bf055d2986634384 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 16 Nov 2001 10:08:12 -0700 Subject: [PATCH] unroll.c (copy_loop_body): Initialize JUMP_LABEL field after creating a new jump insn. * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after creating a new jump insn. From-SVN: r47090 --- gcc/ChangeLog | 7 ++++++- gcc/unroll.c | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7e264a369d..9eb2c0af9ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -Fri Nov 16 09:06:25 2001 Richard Kenner +2001-11-16 Jeff Law + + * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after + creating a new jump insn. + +Fri Nov 13 09:06:25 2001 Richard Kenner * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to copy misaligned data. diff --git a/gcc/unroll.c b/gcc/unroll.c index 9a9d432dd11..5d9f18e34a1 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -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;