Commit 94406344 by Sebastian Pop Committed by Sebastian Pop

Fix PR46404: call scev_reset to reset the number of iterations as well.

2010-12-16  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/46404
	* graphite-clast-to-gimple.c (gloog): Call scev_reset.

	* gcc.dg/graphite/pr46404-1.c: New.

From-SVN: r167954
parent ffafe01a
2010-12-16 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46404
* graphite-clast-to-gimple.c (gloog): Call scev_reset.
2010-12-16 Anatoly Sokolov <aesok@post.ru> 2010-12-16 Anatoly Sokolov <aesok@post.ru>
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
...@@ -1555,7 +1555,7 @@ gloog (scop_p scop, htab_t bb_pbb_mapping) ...@@ -1555,7 +1555,7 @@ gloog (scop_p scop, htab_t bb_pbb_mapping)
&newivs, newivs_index, &newivs, newivs_index,
bb_pbb_mapping, 1, params_index); bb_pbb_mapping, 1, params_index);
graphite_verify (); graphite_verify ();
scev_reset_htab (); scev_reset ();
recompute_all_dominators (); recompute_all_dominators ();
graphite_verify (); graphite_verify ();
......
2010-12-16 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46404
* gcc.dg/graphite/pr46404-1.c: New.
2010-12-16 Jakub Jelinek <jakub@redhat.com> 2010-12-16 Jakub Jelinek <jakub@redhat.com>
PR debug/46893 PR debug/46893
......
/* { dg-options "-O -fgraphite-identity -fno-tree-scev-cprop" } */
int
huft_build (unsigned *b)
{
int k;
for (k = 0; k <= 10; k++)
if (foo ());
}
int
inflate_fixed ()
{
int i;
unsigned l[288];
for (i = 0; i < 144; i++)
l[i] = 8;
for (; i < 256; i++)
l[i] = 9;
for (; i < 280; i++)
l[i] = 7;
for (; i < 288; i++)
l[i] = 8;
if ((i = huft_build (l)) != 0)
return i;
for (i = 0; i < 30; i++)
l[i] = 5;
}
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