Commit 68023570 by Jeff Law Committed by Jeff Law

tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of CFG_ALTERED in the…

tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of CFG_ALTERED in the main DOM iteration loop.

        * tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of
        CFG_ALTERED in the main DOM iteration loop.

From-SVN: r95788
parent 9560cbde
2005-03-02 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of
CFG_ALTERED in the main DOM iteration loop.
2005-03-02 Mark Mitchell <mark@codesourcery.com>
PR c++/19916
......
......@@ -434,7 +434,7 @@ tree_ssa_dominator_optimize (void)
free_all_edge_infos ();
/* Thread jumps, creating duplicate blocks as needed. */
cfg_altered = thread_through_all_blocks ();
cfg_altered |= thread_through_all_blocks ();
/* Removal of statements may make some EH edges dead. Purge
such edges from the CFG as needed. */
......@@ -445,7 +445,7 @@ tree_ssa_dominator_optimize (void)
}
free_dominance_info (CDI_DOMINATORS);
cfg_altered = cleanup_tree_cfg ();
cfg_altered |= cleanup_tree_cfg ();
calculate_dominance_info (CDI_DOMINATORS);
rewrite_ssa_into_ssa ();
......
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