diff options
author | Richard Guenther <rguenther@suse.de> | 2009-04-04 18:54:42 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-04-04 18:54:42 +0000 |
commit | 5eeeac64dc4204103a5e394ab522c2780b2410f7 (patch) | |
tree | 5e7edb910082f9754afbee8db5674aab176703e5 /gcc | |
parent | 1ff7d06b775f00bd32a5a83945f0676a867fb61b (diff) | |
download | gcc-5eeeac64dc4204103a5e394ab522c2780b2410f7.zip gcc-5eeeac64dc4204103a5e394ab522c2780b2410f7.tar.gz gcc-5eeeac64dc4204103a5e394ab522c2780b2410f7.tar.bz2 |
tree-ssa-operands.c (pop_stmt_changes): Remove automatic renaming code.
2009-04-04 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.c (pop_stmt_changes): Remove automatic
renaming code.
From-SVN: r145547
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-operands.c | 11 |
2 files changed, 5 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf203d9..6723da5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index f4df750..c9473a8 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -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 |