https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110377
--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> --- If I were to guess, I'd guess that its using the default query which simply picks up global ranges from the global_range_query. If enable_range() was called at the start, and disable_ranger() at the end of the pass, it would switch to a context sensitive query.. as long as the IL isnt going thru too much funny stuff. My guess is Aldy has been converting the OLD API to rangers API, and simply hasn't enabled a context ranger yet... Or if he even had plans for that.. Aldy?