Commit 13396b14 by Kazu Hirata Committed by Kazu Hirata

tree-ssa-dom.c (tree_ssa_dominator_optimize): Call free_dominance_info only when needed.

	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
	free_dominance_info only when needed.

From-SVN: r95791
parent adf4a335
......@@ -5,6 +5,9 @@
(unchecked_make_edge, remove_edge, redirect_edge_succ,
redirect_edge_pred): Use the new functions.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
free_dominance_info only when needed.
2005-03-02 David Edelsohn <edelsohn@gnu.org>
PR target/20276
......
......@@ -444,7 +444,8 @@ tree_ssa_dominator_optimize (void)
bitmap_zero (need_eh_cleanup);
}
free_dominance_info (CDI_DOMINATORS);
if (cfg_altered)
free_dominance_info (CDI_DOMINATORS);
cfg_altered |= cleanup_tree_cfg ();
calculate_dominance_info (CDI_DOMINATORS);
......
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