Do not go beyond end of array

From-SVN: r14384
This commit is contained in:
Michael Meissner 1997-07-02 13:52:15 +00:00
parent 26ef0fc85a
commit e50ab9ee27

View File

@ -3961,6 +3961,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
other_giv = tv;
}
if (! tv && other_giv
&& REGNO (other_giv->dest_reg) <= max_reg_before_loop
&& (REGNO_LAST_UID (REGNO (other_giv->dest_reg))
== INSN_UID (v->insn))
&& INSN_LUID (v->insn) < INSN_LUID (bl->biv->insn))