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.
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);
}
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);
}