aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-05-07 12:48:46 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-05-07 12:48:46 +0000
commit4be1caf900da7480142d0c027a251b28d2af49a0 (patch)
tree25dbb91b2ce6c2e36cfeec7d9ab684466ee23095 /gcc/tree-ssa-dom.c
parent8d9d65619c4ed9bad4171a6cbc6919e074825760 (diff)
downloadgcc-4be1caf900da7480142d0c027a251b28d2af49a0.zip
gcc-4be1caf900da7480142d0c027a251b28d2af49a0.tar.gz
gcc-4be1caf900da7480142d0c027a251b28d2af49a0.tar.bz2
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
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index d76c2a34..7a14615 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -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);
}