Commit 0466bdc4 by J"orn Rennecke Committed by Joern Rennecke

loop.c (combine_givs): Fix index into can_combine when doing benefit adjustment…

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
parent a833fb4e
Fri Mar 26 19:42:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (combine_givs): Fix index into can_combine when doing
benefit adjustment for remaining givs when having combined a giv.
Fri Mar 26 11:38:01 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Define.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment