(jump_optimize): Don't move initialization if there is a label between it and the...
authorStan Cox <coxs@gnu.org>
Mon, 9 Dec 1996 21:37:37 +0000 (21:37 +0000)
committerStan Cox <coxs@gnu.org>
Mon, 9 Dec 1996 21:37:37 +0000 (21:37 +0000)
From-SVN: r13257

gcc/jump.c

index ba06022ce171c08aa6b73e09db866097f1ece6f1..839421f5a0f3e8b68304ef19194e7c85b0f71366 100644 (file)
@@ -1494,6 +1494,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
                 into our sequence.  */
 
              if ((temp5 = prev_active_insn (insn)) != 0
+                 && no_labels_between_p (temp5, insn)
                  && GET_CODE (temp5) == INSN
                  && (temp6 = single_set (temp5)) != 0
                  && rtx_equal_p (temp2, SET_DEST (temp6))