Commit b4104018 by Jan Hubicka Committed by Jan Hubicka

* tree-ssa-pre.c (eliminate): Fix call of update_stmt.

From-SVN: r145961
parent cadb8f42
2009-04-11 Jan Hubicka <jh@suse.cz>
* tree-ssa-pre.c (eliminate): Fix call of update_stmt.
2009-04-11 Richard Guenther <rguenther@suse.de> 2009-04-11 Richard Guenther <rguenther@suse.de>
PR middle-end/39732 PR middle-end/39732
......
...@@ -4209,7 +4209,7 @@ eliminate (void) ...@@ -4209,7 +4209,7 @@ eliminate (void)
&& single_imm_use (lhs, &use_p, &use_stmt)) && single_imm_use (lhs, &use_p, &use_stmt))
{ {
SET_USE (use_p, gimple_assign_rhs1 (stmt)); SET_USE (use_p, gimple_assign_rhs1 (stmt));
update_stmt (stmt); update_stmt (use_stmt);
} }
/* If this is a store or a now unused copy, remove it. */ /* If this is a store or a now unused copy, remove it. */
......
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