[Bug middle-end/88784] Middle end is missing some optimizations about unsigned

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 10 11:16:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88784

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-01-10
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Similar for singed and X > Y && X != INT_MIN, etc.

ifcombine is one place to fix (maybe_fold_and_comparisons and friends),
match.pd in case this gets lowered to BIT_AND/IOR.


More information about the Gcc-bugs mailing list