https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100781
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:263a7e20c88a35bdfaebfac3c9abb313c5867590 commit r11-8747-g263a7e20c88a35bdfaebfac3c9abb313c5867590 Author: Andrew MacLeod <amacl...@redhat.com> Date: Tue Jun 8 09:43:17 2021 -0400 Don't process lookups for debug statements in Ranger. Although PR 100781 is not an issue in GCC11, its possible that a similar situation may arise. The identical fix cannot be easily introduced. With EVRP always running in hybrid mode, there is no need for ranger to spawn a lookup for a debug statement in this release. * gimple-range.cc (gimple_ranger::range_of_expr): Treat debug statments as contextless queries to avoid additional lookups.