https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126531
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <[email protected]>: https://gcc.gnu.org/g:de2d80d1101e1921d719918d57589ea2668dcc1f commit r17-3205-gde2d80d1101e1921d719918d57589ea2668dcc1f Author: Andrew MacLeod <[email protected]> Date: Thu Aug 6 14:15:21 2026 -0400 Check for abnoraml ranges on full dom search. Inferred ranges are not adde dif the predecessor was an abnormal edge. This is extended to finding a taken abnrmal edge anywhere in the dominator search. PR tree-optimization/126531 gcc/ * gimple-range-cache.cc (ranger_cache::range_from_dom): Track abnormal edges throughout the dom search. gcc/testsuite/ * g++.dg/pr126531.C: New.
