Commit 2e24fa83 by Zdenek Dvorak Committed by Zdenek Dvorak

* tree-ssa-pre.c (compute_antic): Keep BB_VISITED flag zeroed.

From-SVN: r83418
parent 160874e4
2004-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* tree-ssa-pre.c (compute_antic): Keep BB_VISITED flag zeroed.
2004-06-20 Richard Henderson <rth@redhat.com>
* stmt.c (warn_if_unused_value): Add locus argument.
......
......@@ -1286,7 +1286,8 @@ compute_antic (void)
FOR_ALL_BB (bb)
{
ANTIC_IN (bb) = set_new (true);
bb->flags &= ~BB_VISITED;
if (bb->flags & BB_VISITED)
abort ();
}
while (changed)
......@@ -1295,6 +1296,10 @@ compute_antic (void)
changed = false;
changed = compute_antic_aux (EXIT_BLOCK_PTR);
}
FOR_ALL_BB (bb)
{
bb->flags &= ~BB_VISITED;
}
if (num_iterations > 2 && dump_file && (dump_flags & TDF_STATS))
fprintf (dump_file, "compute_antic required %d iterations\n", num_iterations);
}
......
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