Commit a5f84464 by Andrew MacLeod Committed by Andrew Macleod

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
parent a0f0ab9f
2006-04-28 Andrew MacLeod <amacleod@redhat.com>
* tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause.
2006-04-28 Roger Sayle <roger@eyesopen.com>
PR c/25309
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment