diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-06-18 13:50:28 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-06-18 13:50:28 -0700 |
commit | 9c066566b07986915e603c5117965a6f27983f08 (patch) | |
tree | 619a2bf88bde3ed108e57228919a1295c5f5102b | |
parent | ee3e2d3de0491993101f0b9b097cf815034034bc (diff) | |
download | gcc-9c066566b07986915e603c5117965a6f27983f08.zip gcc-9c066566b07986915e603c5117965a6f27983f08.tar.gz gcc-9c066566b07986915e603c5117965a6f27983f08.tar.bz2 |
(duplicate_loop_exit_test): Initialize copy to zero.
Emit jump to end lable if copy is still zero.
From-SVN: r7519
-rw-r--r-- | gcc/jump.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2010,8 +2010,8 @@ static int duplicate_loop_exit_test (loop_start) rtx loop_start; { - rtx insn, set, p; - rtx copy, link; + rtx insn, set, p, link; + rtx copy = 0; int num_insns = 0; rtx exitcode = NEXT_INSN (JUMP_LABEL (next_nonnote_insn (loop_start))); rtx lastexit; @@ -2155,7 +2155,7 @@ duplicate_loop_exit_test (loop_start) /* Now clean up by emitting a jump to the end label and deleting the jump at the start of the loop. */ - if (GET_CODE (copy) != BARRIER) + if (! copy || GET_CODE (copy) != BARRIER) { copy = emit_jump_insn_before (gen_jump (get_label_after (insn)), loop_start); |