* tree-cfg.c (replace_uses_by): Clean up eh info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103766
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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);
}