aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2006-04-28 20:39:18 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2006-04-28 20:39:18 +0000
commita5f844647be0134e5a3e0a16572308f0de57c15d (patch)
tree07bda6cd46c127a52d8dce3f393f1cc3bd889e8b /gcc/tree-ssa-dom.c
parenta0f0ab9fc19dea21076d7b4d7e8b8c5c32b78455 (diff)
downloadgcc-a5f844647be0134e5a3e0a16572308f0de57c15d.zip
gcc-a5f844647be0134e5a3e0a16572308f0de57c15d.tar.gz
gcc-a5f844647be0134e5a3e0a16572308f0de57c15d.tar.bz2
The condition the assert was flawed.
2006-04-28 Andrew MacLeod <amacleod@redhat.com> * tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause. From-SVN: r113356
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 431f856..6574f9b 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -2304,7 +2304,7 @@ propagate_rhs_into_lhs (tree stmt, tree lhs, tree rhs, bitmap interesting_names)
}
/* Ensure there is nothing else to do. */
- gcc_assert (all && has_zero_uses (lhs));
+ gcc_assert (!all || has_zero_uses (lhs));
/* If we were able to propagate away all uses of LHS, then
we can remove STMT. */