diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 16:37:50 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 16:37:50 +0000 |
commit | 3e5688bf726b95a180d6e72d5932dad962df57a6 (patch) | |
tree | f046abc43185d824096a05b696d87008b020b29f /gcc/tree-ssa-dce.c | |
parent | 3e8132224ecc0c9d421b79f489cc056093aeeb4f (diff) | |
download | gcc-3e5688bf726b95a180d6e72d5932dad962df57a6.tar.gz |
PR tree-optimization/40759
* tree-ssa-dce.c (mark_virtual_phi_result_for_renaming): Mark all uses
for renaming.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-dce.c')
-rw-r--r-- | gcc/tree-ssa-dce.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c index bbf37f7a028..c1f4e7f647b 100644 --- a/gcc/tree-ssa-dce.c +++ b/gcc/tree-ssa-dce.c @@ -828,9 +828,6 @@ mark_virtual_phi_result_for_renaming (gimple phi) } FOR_EACH_IMM_USE_STMT (stmt, iter, gimple_phi_result (phi)) { - if (gimple_code (stmt) != GIMPLE_PHI - && !gimple_plf (stmt, STMT_NECESSARY)) - continue; FOR_EACH_IMM_USE_ON_STMT (use_p, iter) SET_USE (use_p, SSA_NAME_VAR (gimple_phi_result (phi))); update_stmt (stmt); |