summaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-16 17:08:12 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-16 17:08:12 +0000
commit870d099434b31325db48f75e9b3b33eaab9e6290 (patch)
tree35c7349d313bb83eac6b34e3287606b888ad9d5f /gcc/unroll.c
parent1ed6227f8d3783f10b161a4733e922971840c2e3 (diff)
downloadgcc-870d099434b31325db48f75e9b3b33eaab9e6290.tar.gz
* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
creating a new jump insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47090 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c1
1 files changed, 1 insertions, 0 deletions
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;