summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-19 16:56:14 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-19 16:56:14 +0000
commit819df3ff913bd5124aef350587e4bb2d2631c118 (patch)
treea67c7c355359564412b17b3be0f62dcf20f869d0 /gcc/tree-ssa.c
parentc1ab9d33ed87a4a37a423603c2048a6be1ced698 (diff)
downloadgcc-819df3ff913bd5124aef350587e4bb2d2631c118.tar.gz
* tree-ssa.c (verify_ssa): Remove redundant checking of PHI
arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90924 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r--gcc/tree-ssa.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c
index 4cb8cc2bc81..054ef870b87 100644
--- a/gcc/tree-ssa.c
+++ b/gcc/tree-ssa.c
@@ -715,24 +715,6 @@ verify_ssa (void)
}
}
- /* Verify the uses in arguments of PHI nodes at the exits from the
- block. */
- FOR_EACH_EDGE (e, ei, bb->succs)
- {
- for (phi = phi_nodes (e->dest); phi; phi = PHI_CHAIN (phi))
- {
- bool virtual = !is_gimple_reg (PHI_RESULT (phi));
- op = PHI_ARG_DEF_FROM_EDGE (phi, e);
- if (TREE_CODE (op) != SSA_NAME)
- continue;
-
- if (verify_use (bb, definition_block[SSA_NAME_VERSION (op)],
- op, phi, false, virtual,
- names_defined_in_bb))
- goto err;
- }
- }
-
bitmap_clear (names_defined_in_bb);
}