jump.c (jump_optimize): fix bug in last change.

From-SVN: r12984
This commit is contained in:
Doug Evans 1996-10-21 16:27:41 +00:00
parent aed1145228
commit 04bd02461f

View File

@ -933,6 +933,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
if (insert_after
&& no_labels_between_p (insert_after, temp)
&& ! reg_referenced_between_p (temp1, insert_after, temp)
&& ! reg_referenced_between_p (temp1, temp3,
NEXT_INSN (temp2))
&& ! reg_set_between_p (temp1, insert_after, temp)
&& (GET_CODE (SET_SRC (temp4)) == CONST_INT
|| ! reg_set_between_p (SET_SRC (temp4),