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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It comes down to figuring out that t is `x - 1`.

The problem is GCC does not reassociate signed types for overflow reasons.
  • [Bug tree-optimization/1... 652023330028 at smail dot nju.edu.cn via Gcc-bugs
    • [Bug tree-optimizat... pinskia at gcc dot gnu.org via Gcc-bugs

Reply via email to