diff options
author | Zhouyi Zhou <zhouzhouyi@FreeBSD.org> | 2008-01-05 10:31:24 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-01-05 10:31:24 +0100 |
commit | 12a6309e7e4fec57b7f0b431fc5da6a7400c00d6 (patch) | |
tree | a224a9aee633f40d48925abbb63a7282d9f62e7d /gcc/tree-vrp.c | |
parent | 9ed6c6fa7fde2cbcafab0a6e16b15c45a360a43d (diff) | |
download | gcc-12a6309e7e4fec57b7f0b431fc5da6a7400c00d6.zip gcc-12a6309e7e4fec57b7f0b431fc5da6a7400c00d6.tar.gz gcc-12a6309e7e4fec57b7f0b431fc5da6a7400c00d6.tar.bz2 |
tree-vrp.c (find_conditional_asserts): Remove redundant check that edge does not point to current bb before changing...
* tree-vrp.c (find_conditional_asserts): Remove redundant check that
edge does not point to current bb before changing need_assert.
From-SVN: r131333
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 1e1ffaa..5f9a327 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -3825,8 +3825,7 @@ find_conditional_asserts (basic_block bb, tree last) /* Traverse the strictly dominated sub-graph rooted at E->DEST to determine if any of the operands in the conditional predicate are used. */ - if (e->dest != bb) - need_assert |= find_assert_locations (e->dest); + need_assert |= find_assert_locations (e->dest); /* Register the necessary assertions for each operand in the conditional predicate. */ |