[Bug tree-optimization/88314] range calculation of shift

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 3 14:10:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-12-03
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Nothing in GCC tracks this kind of "ranges", we only compute
the result lies in [0, 32].  We do know possibly non-zero bits 0x3c so
we should still be able to test 0x3c nonzero-bits against [1, 7].


More information about the Gcc-bugs mailing list