summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2006-12-11 17:50:53 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2006-12-11 12:50:53 -0500
commit9b3b55a10516cf15d37f39ac473ad86b6ae3c3ce (patch)
treec10c3e1e438be55ec7fabae41f6449845ab479fc /gcc/tree-ssa-dom.c
parent546447ae68630c589ab35c109430caa4656a2453 (diff)
downloadgcc-9b3b55a10516cf15d37f39ac473ad86b6ae3c3ce.tar.gz
* tree-scalar-evolution.c (scev_const_prop):
* tree-phinodes.c (remove_phi_node): Add argument RELEASE_LHS_P. If given, release the SSA name on the LHS of the PHI node. Update all users. * tree-ssa-dce.c: Remove forward declarations for static functions. Re-arrange functions bodies as needed. (find_obviously_necessary_stmts): Never mark PHI nodes as obviously necessary. From-SVN: r119740
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 7656f365d8f..dcd4b86b42a 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -2089,7 +2089,7 @@ static void
remove_stmt_or_phi (tree t)
{
if (TREE_CODE (t) == PHI_NODE)
- remove_phi_node (t, NULL);
+ remove_phi_node (t, NULL, true);
else
{
block_stmt_iterator bsi = bsi_for_stmt (t);