[Bug middle-end/126814] [17 Regression] ICE in RTL expand in fill_ranger_cache at gimple-range-cache.cc:1658 since r17-3171

"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=126814

--- Comment #8 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:836cb4ed48c987a4a9027cb14e6b6e1edeebcaf3

commit r17-3298-g836cb4ed48c987a4a9027cb14e6b6e1edeebcaf3
Author: Andrew MacLeod <[email protected]>
Date:   Wed Aug 12 17:03:21 2026 -0400

    fold_using_range should set the current query.

            PR tree-optimization/126814
            gcc/
            * gimple-range-fold.cc (fold_using_range::fold_stmt): Temporarily
            replace the current range query with the specified one.

            gcc/testsuite/
            * gcc.dg/pr126814.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.