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
This commit is contained in:
parent
9560cbde52
commit
6802357028
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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 ();
|
||||
|
|
Loading…
Add table
Reference in a new issue