mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 02:40:32 +08:00
Do not go beyond end of array
From-SVN: r14384
This commit is contained in:
parent
26ef0fc85a
commit
e50ab9ee27
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user