diff options
author | Diego Novillo <dnovillo@redhat.com> | 2006-12-11 17:50:53 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2006-12-11 12:50:53 -0500 |
commit | 9b3b55a10516cf15d37f39ac473ad86b6ae3c3ce (patch) | |
tree | c10c3e1e438be55ec7fabae41f6449845ab479fc /gcc/tree-outof-ssa.c | |
parent | 546447ae68630c589ab35c109430caa4656a2453 (diff) | |
download | gcc-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-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index f591eb5ed97..8197f1ac9b8 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -639,7 +639,7 @@ eliminate_virtual_phis (void) } } #endif - remove_phi_node (phi, NULL_TREE); + remove_phi_node (phi, NULL_TREE, true); } } } @@ -1170,13 +1170,13 @@ remove_ssa_form (bool perform_ter) if (values) free (values); - /* Remove phi nodes which have been translated back to real variables. */ + /* Remove PHI nodes which have been translated back to real variables. */ FOR_EACH_BB (bb) { for (phi = phi_nodes (bb); phi; phi = next) { next = PHI_CHAIN (phi); - remove_phi_node (phi, NULL_TREE); + remove_phi_node (phi, NULL_TREE, true); } } |