https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97909
--- Comment #1 from Andrew Macleod <amacleod at redhat dot com> --- Yeah, I'm planning as one of the next steps to replace the SSA_NAME_RANGE_INFO/get_range_info interface with the new range_query interface from value-query.h Then we can wire that into the Ranger instance that a pass is using, if there is one. Then any of these components, like this or the gimple-folder can make use of better range info if they know anything about the context in which they are working. Once I finish going through these PRs, I plan to produce a work-list of all the mini-projects to complete each thing. We can use this PR for the global range availability part.