[Bug tree-optimization/126531] [13/14/15/16/17 Regression] Wrong code with ranger and exception handling
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 11 17:39:55 GMT 2026
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 <amacleod@gcc.gnu.org>:
https://gcc.gnu.org/g:de2d80d1101e1921d719918d57589ea2668dcc1f
commit r17-3205-gde2d80d1101e1921d719918d57589ea2668dcc1f
Author: Andrew MacLeod <amacleod@redhat.com>
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.
More information about the Gcc-bugs
mailing list