projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ef0fc
)
Do not go beyond end of array
author
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 2 Jul 1997 13:52:15 +0000
(13:52 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 2 Jul 1997 13:52:15 +0000
(13:52 +0000)
From-SVN: r14384
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/loop.c
b/gcc/loop.c
index
92eab1f
..
1c67f1c
100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-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))