From 819df3ff913bd5124aef350587e4bb2d2631c118 Mon Sep 17 00:00:00 2001 From: law Date: Fri, 19 Nov 2004 16:56:14 +0000 Subject: * 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 --- gcc/tree-ssa.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gcc/tree-ssa.c') 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); } -- cgit v1.2.1