[Bug tree-optimization/126531] [13/14/15/16/17 Regression] Wrong code with ranger and exception handling

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.