Commit b8c4f9a4 by Zdenek Dvorak Committed by Zdenek Dvorak

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
parent 73eb8cb6
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> 2005-09-01 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug * config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug
......
...@@ -1273,6 +1273,10 @@ replace_uses_by (tree name, tree val) ...@@ -1273,6 +1273,10 @@ replace_uses_by (tree name, tree val)
if (TREE_CODE (rhs) == ADDR_EXPR) if (TREE_CODE (rhs) == ADDR_EXPR)
recompute_tree_invarant_for_addr_expr (rhs); 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); mark_new_vars_to_rename (stmt);
} }
......
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