From 8eee352825f2aea3709fac63df95d9fbdadd7107 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Wed, 22 Sep 2004 23:50:19 +0000 Subject: [PATCH] re PR tree-optimization/17587 (Mauve's UnicodeBase.java fails to compile) 2004-09-22 Daniel Berlin Fix PR tree-optimization/17587 * tree-ssa-pre.c (fini_pre): Commit edge inserts here. (insert_aux): Instead of here. From-SVN: r87899 --- gcc/ChangeLog | 6 ++++++ gcc/tree-ssa-pre.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb0cf57e82c..497d43f7f25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-22 Daniel Berlin + + 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 PR tree-optimization/16721 diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 2c9b4ee5c5c..2408fff3279 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1541,7 +1541,6 @@ insert_aux (basic_block block) eprime, stmts); bsi_insert_on_edge (pred, stmts); - bsi_commit_edge_inserts (NULL); avail[bprime->index] = builtexpr; } } @@ -1965,6 +1964,7 @@ static void fini_pre (void) { basic_block bb; + bsi_commit_edge_inserts (NULL); obstack_free (&grand_bitmap_obstack, NULL); free_alloc_pool (value_set_pool); -- 2.30.2