This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26899] Fold does not fold (i0 > i1 + 1) || (i1 < i0 - 1)
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2006 15:07:37 -0000
- Subject: [Bug middle-end/26899] Fold does not fold (i0 > i1 + 1) || (i1 < i0 - 1)
- References: <bug-26899-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-24 15:07 -------
Actually folding (i0 > i1 + 1) || (i1 < i0 - 1) is not possible, but I have a
patch that is able to fold (i0 < i1 + 1) || (i1 > i0 - 1) to i1 >= i0.
The original one is not possible due to overflow issues.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-10-24 15:07:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26899