[Bug tree-optimization/72443] VRP derives poor range for "y = (int)x + C;" when x has an anti-range

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 27 13:38:26 GMT 2021


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

Andrew Macleod <amacleod at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> ---
Ranger VRP passes produce:

Non-varying global ranges:
=========================:
y_7  : int [-2147483647, 5][12, +INF]


So.. fixed I guess.


More information about the Gcc-bugs mailing list