* loop.c (strength_reduce): Fix biv removal code.
From-SVN: r33344
This commit is contained in:
parent
9bcbfc524a
commit
7841261c99
|
@ -1,3 +1,7 @@
|
|||
Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* loop.c (strength_reduce): Fix biv removal code.
|
||||
|
||||
2000-04-22 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* predict.c (estimate_probability): Examine both sides of
|
||||
|
|
14
gcc/loop.c
14
gcc/loop.c
|
@ -4160,19 +4160,7 @@ strength_reduce (loop, insn_count, unroll_p, bct_p)
|
|||
INSN_LUID (p));
|
||||
}
|
||||
/* Remove this biv from the chain. */
|
||||
if (bl->next)
|
||||
{
|
||||
/* We move the following giv from *bl->next into *bl.
|
||||
We have to update reg_biv_class for that moved biv
|
||||
to point to its new address. */
|
||||
*bl = *bl->next;
|
||||
reg_biv_class[bl->regno] = bl;
|
||||
}
|
||||
else
|
||||
{
|
||||
*backbl = 0;
|
||||
break;
|
||||
}
|
||||
*backbl = bl->next;
|
||||
}
|
||||
|
||||
/* If we can't make it a giv,
|
||||
|
|
Loading…
Reference in New Issue