aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2005-02-25 21:12:34 +0000
committerDiego Novillo <dnovillo@redhat.com>2005-02-25 21:12:34 +0000
commit8c135ad19d53561799e5c623b93ea6282576f1d6 (patch)
treebe437caafd0dbf5b5caf2ef3531ec09c179ee715 /gcc/tree-into-ssa.c
parent278469e1bffa51f053882f5a48bf0cff1b49bb19 (diff)
PR tree-optimization/20204
* tree-into-ssa.c (insert_phi_nodes_for): Do not use REWRITE_THIS_STMT markers on PHI nodes. (rewrite_initialize_block): Likewise. testsuite/ChangeLog PR tree-optimization/20204 * testsuite/gcc.dg/pr20204.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r--gcc/tree-into-ssa.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index bdc7623e87f..271c1ff8938 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -591,9 +591,6 @@ insert_phi_nodes_for (tree var, bitmap phi_insertion_points)
FOR_EACH_EDGE (e, ei, bb->preds)
add_phi_arg (phi, var, e);
}
-
- /* Mark this PHI node as interesting for the rename process. */
- REWRITE_THIS_STMT (phi) = 1;
}
}
@@ -745,8 +742,7 @@ rewrite_initialize_block (struct dom_walk_data *walk_data ATTRIBUTE_UNUSED,
for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
{
tree result = PHI_RESULT (phi);
- if (REWRITE_THIS_STMT (phi))
- register_new_def (result, &block_defs_stack);
+ register_new_def (result, &block_defs_stack);
}
}