]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-operands.c (pop_stmt_changes): Remove automatic renaming code.
authorRichard Guenther <rguenther@suse.de>
Sat, 4 Apr 2009 18:54:42 +0000 (18:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 4 Apr 2009 18:54:42 +0000 (18:54 +0000)
2009-04-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-operands.c (pop_stmt_changes): Remove automatic
renaming code.

From-SVN: r145547

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

index bf203d9027b52a082965302ae332bd597b470996..6723da53a2d85f7f3cafbae136f695395507dfc6 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-04  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-operands.c (pop_stmt_changes): Remove automatic
+       renaming code.
+
 2009-04-04  Jan Hubicka  <jh@suse.cz>
 
        * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
index f4df750809301a08d72a709202fad628772f1b95..c9473a8f9b1b546f8c384b2262766f8df65809f8 100644 (file)
@@ -1380,8 +1380,6 @@ void
 pop_stmt_changes (gimple *stmt_p)
 {
   gimple *stmt2_p, stmt = *stmt_p;
-  ssa_op_iter iter;
-  tree op;
 
   /* It makes no sense to keep track of PHI nodes.  */
   if (gimple_code (stmt) == GIMPLE_PHI)
@@ -1394,15 +1392,6 @@ pop_stmt_changes (gimple *stmt_p)
      exposed variables.  This also will mark the virtual operand
      for renaming if necessary.  */
   update_stmt (stmt);
-
-  /* Mark all the naked GIMPLE register operands for renaming.
-     ???  Especially this is considered bad behavior of the caller,
-     it should have updated SSA form manually.  Even more so as
-     we do not have a way to verify that no SSA names for op are
-     already in use.  */
-  FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_DEF|SSA_OP_USE)
-    if (DECL_P (op))
-      mark_sym_for_renaming (op);
 }
 
 /* Discard the topmost stmt from SCB_STACK.  This is useful