[Bug tree-optimization/126845] [17 Regression] ICE on valid code at -O{2,3} with -fno-move-loop-stores on x86_64-linux-gnu: in create_relation_in_bb, at value-relation.cc:1217

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

--- 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:62214130b61f48cf7cdb37c69bb14c22aea6c65a

commit r17-3299-g62214130b61f48cf7cdb37c69bb14c22aea6c65a
Author: Andrew MacLeod <[email protected]>
Date:   Thu Aug 13 13:44:09 2026 -0400

    Add new relation before starting search

    Create a new relation immediately. Then Calculate any known range and
    intersect the result.

            PR tree-optimization/126845
            gcc/
            * value-relation.cc (dom_oracle::search_and_merge_relation): Create
            relation immediately and update it later.

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