diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-03-26 11:46:59 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-03-26 11:46:59 +0000 |
commit | 0466bdc4c84fd7d3daebf735b8ed9ebd4d9ff77a (patch) | |
tree | d3a51281c8b7fae45c2b384ac8c31456c738fe1f /gcc/loop.c | |
parent | a833fb4ed93d47a2bfc345c5f5b0a4e947289e33 (diff) | |
download | gcc-0466bdc4c84fd7d3daebf735b8ed9ebd4d9ff77a.zip gcc-0466bdc4c84fd7d3daebf735b8ed9ebd4d9ff77a.tar.gz gcc-0466bdc4c84fd7d3daebf735b8ed9ebd4d9ff77a.tar.bz2 |
loop.c (combine_givs): Fix index into can_combine when doing benefit adjustment for remaining givs when...
* loop.c (combine_givs): Fix index into can_combine when doing
benefit adjustment for remaining givs when having combined a giv.
From-SVN: r25998
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7001,7 +7001,7 @@ restart: for (j = 0; j < giv_count; ++j) { int m = stats[j].giv_number; - if (can_combine[m*giv_count + j]) + if (can_combine[m*giv_count + i]) stats[j].total_benefit -= g1->benefit + extra_benefit; } |