mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 13:31:04 +08:00
tree-ssa.c (verify_ssa): Remove redundant checking of PHI arguments.
* tree-ssa.c (verify_ssa): Remove redundant checking of PHI arguments. From-SVN: r90924
This commit is contained in:
parent
e752a25dff
commit
075523c69f
@ -1,3 +1,8 @@
|
||||
2004-11-19 Jeff Law <law@redhat.com>
|
||||
|
||||
* tree-ssa.c (verify_ssa): Remove redundant checking of PHI
|
||||
arguments.
|
||||
|
||||
2004-11-19 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
PR target/17735
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user