diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/loop.c | 14 |
2 files changed, 5 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b12657..ec86bbd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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, |