* loop-iv.c (implies_p): In the final case, test that operands 0
of the two comparisons match.
From-SVN: r144152
+2008-02-13 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * loop-iv.c (implies_p): In the final case, test that operands 0
+ of the two comparisons match.
+
2009-02-13 Richard Guenther <rguenther@suse.de>
* configure.ac: Enable LFS.
&& ((GET_CODE (a) == GT && op1 == constm1_rtx)
|| INTVAL (op1) >= 0)
&& GET_CODE (b) == LTU
- && GET_CODE (opb1) == CONST_INT)
+ && GET_CODE (opb1) == CONST_INT
+ && rtx_equal_p (op0, opb0))
return INTVAL (opb1) < 0;
return false;