tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance info after purging EH edges.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance info after purging EH edges. (eliminate_degenerate_phis): Likewise. From-SVN: r124499
This commit is contained in:
parent
8d9d65619c
commit
4be1caf900
@ -1,7 +1,7 @@
|
||||
2007-05-07 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered.
|
||||
Free dominance info before purging EH edges as well as after.
|
||||
Free dominance info before purging EH edges.
|
||||
(eliminate_degenerate_phis): Likewise.
|
||||
(propagate_rhs_into_lhs): Set cfg_altered to true instead of 1.
|
||||
|
||||
|
@ -328,8 +328,7 @@ tree_ssa_dominator_optimize (void)
|
||||
such edges from the CFG as needed. */
|
||||
if (!bitmap_empty_p (need_eh_cleanup))
|
||||
{
|
||||
if (tree_purge_all_dead_eh_edges (need_eh_cleanup))
|
||||
free_dominance_info (CDI_DOMINATORS);
|
||||
tree_purge_all_dead_eh_edges (need_eh_cleanup);
|
||||
bitmap_zero (need_eh_cleanup);
|
||||
}
|
||||
|
||||
@ -2533,8 +2532,7 @@ eliminate_degenerate_phis (void)
|
||||
such edges from the CFG as needed. */
|
||||
if (!bitmap_empty_p (need_eh_cleanup))
|
||||
{
|
||||
if (tree_purge_all_dead_eh_edges (need_eh_cleanup))
|
||||
free_dominance_info (CDI_DOMINATORS);
|
||||
tree_purge_all_dead_eh_edges (need_eh_cleanup);
|
||||
BITMAP_FREE (need_eh_cleanup);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user