Commit 8eee3528 by Daniel Berlin Committed by Daniel Berlin

re PR tree-optimization/17587 (Mauve's UnicodeBase.java fails to compile)

2004-09-22  Daniel Berlin <dberlin@dberlin.org>

	Fix PR tree-optimization/17587
	* tree-ssa-pre.c (fini_pre): Commit edge inserts here.
	(insert_aux): Instead of here.

From-SVN: r87899
parent 8db6bcda
2004-09-22 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/17587
* tree-ssa-pre.c (fini_pre): Commit edge inserts here.
(insert_aux): Instead of here.
2004-09-22 Diego Novillo <dnovillo@redhat.com> 2004-09-22 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/16721 PR tree-optimization/16721
......
...@@ -1541,7 +1541,6 @@ insert_aux (basic_block block) ...@@ -1541,7 +1541,6 @@ insert_aux (basic_block block)
eprime, eprime,
stmts); stmts);
bsi_insert_on_edge (pred, stmts); bsi_insert_on_edge (pred, stmts);
bsi_commit_edge_inserts (NULL);
avail[bprime->index] = builtexpr; avail[bprime->index] = builtexpr;
} }
} }
...@@ -1965,6 +1964,7 @@ static void ...@@ -1965,6 +1964,7 @@ static void
fini_pre (void) fini_pre (void)
{ {
basic_block bb; basic_block bb;
bsi_commit_edge_inserts (NULL);
obstack_free (&grand_bitmap_obstack, NULL); obstack_free (&grand_bitmap_obstack, NULL);
free_alloc_pool (value_set_pool); free_alloc_pool (value_set_pool);
......
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