diff options
author | Jan Hubicka <jh@suse.cz> | 2000-04-22 21:07:46 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2000-04-22 21:07:46 +0000 |
commit | 7841261c9904f8ff899e7bc3c09d4c7f0859287b (patch) | |
tree | eaf02918bf87d30148deb13b9b60cc289b1a195e /gcc/loop.c | |
parent | 9bcbfc524a30efaaf3d3ba8fed33fe744a11fe9b (diff) | |
download | gcc-7841261c9904f8ff899e7bc3c09d4c7f0859287b.zip gcc-7841261c9904f8ff899e7bc3c09d4c7f0859287b.tar.gz gcc-7841261c9904f8ff899e7bc3c09d4c7f0859287b.tar.bz2 |
* loop.c (strength_reduce): Fix biv removal code.
From-SVN: r33344
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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, |