Commit cf648142 by Jan Hubicka Committed by Jan Hubicka

loop-38.c: Correct testcase.


	* gcc.dg/tree-ssa/loop-38.c: Correct testcase.

	* tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk): Add
	missing sign to unsigned.

From-SVN: r193117
parent 41ee7487
2012-11-02 Jan Hubicka <jh@suse.cz>
* tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk): Add
missing sign to unsigned.
2012-11-02 Andrew Pinski <apinski@cavium.com>
PR rtl-opt/54524
2012-11-02 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/loop-38.c: Correct testcase.
2012-11-02 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
......
......@@ -13,6 +13,6 @@ t(int n)
sum+=b[i];
return sum;
}
/* { dg-final { scan-tree-dump "Found better loop bound 10" "cunrolli" } } */
/* { dg-final { scan-tree-dump "Loop 1 iterates at most 10 times" "cunrolli" } } */
/* { dg-final { scan-tree-dump "Found better loop bound 11" "cunrolli" } } */
/* { dg-final { scan-tree-dump "Loop 1 iterates at most 11 times" "cunrolli" } } */
/* { dg-final { cleanup-tree-dump "cunrolli" } } */
......@@ -3161,7 +3161,7 @@ discover_iteration_bound_by_body_walk (struct loop *loop)
}
gcc_assert (latch_index >= 0);
if (latch_index < VEC_length (double_int, bounds))
if ((unsigned)latch_index < VEC_length (double_int, bounds))
{
if (dump_file && (dump_flags & TDF_DETAILS))
{
......
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