re PR tree-optimization/23626 (ICE after cunrolling)
PR tree-optimization/23626 * tree-cfg.c (replace_uses_by): Clean up eh info. From-SVN: r103766
This commit is contained in:
parent
73eb8cb642
commit
b8c4f9a4ce
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-09-02 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
PR tree-optimization/23626
|
||||
* tree-cfg.c (replace_uses_by): Clean up eh info.
|
||||
|
||||
2005-09-01 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug
|
||||
|
|
|
@ -1273,6 +1273,10 @@ replace_uses_by (tree name, tree val)
|
|||
if (TREE_CODE (rhs) == ADDR_EXPR)
|
||||
recompute_tree_invarant_for_addr_expr (rhs);
|
||||
|
||||
/* If the statement could throw and now cannot, we need to prune cfg. */
|
||||
if (maybe_clean_or_replace_eh_stmt (stmt, stmt))
|
||||
tree_purge_dead_eh_edges (bb_for_stmt (stmt));
|
||||
|
||||
mark_new_vars_to_rename (stmt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue