This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26899] Fold does not fold (i0 > i1 + 1) || (i1 < i0 - 1)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]