]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-ssa-pre.c (eliminate): Fix call of update_stmt.
authorJan Hubicka <jh@suse.cz>
Sat, 11 Apr 2009 18:20:43 +0000 (20:20 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 11 Apr 2009 18:20:43 +0000 (18:20 +0000)
From-SVN: r145961

gcc/ChangeLog
gcc/tree-ssa-pre.c

index 7d9e7384ff373bebe784c4ce6361c3784fb88252..4ef03d04723298078bce51b02cf5c182ab4f1ae8 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        PR middle-end/39732
index 0b913dc117d2349c4202c9046827ba35b5b83a3c..54770c8eea942e4b690a2c4e1399ec6debd7b880 100644 (file)
@@ -4209,7 +4209,7 @@ eliminate (void)
          && single_imm_use (lhs, &use_p, &use_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.  */