https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122502

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:c070cfb7b4f7850ace889725b4f788f4ae769840

commit r16-4908-gc070cfb7b4f7850ace889725b4f788f4ae769840
Author: Richard Biener <[email protected]>
Date:   Fri Oct 31 08:57:39 2025 +0100

    tree-optimization/122502 - avoid folding during imm use walk with active
ranger

    The following works around an unfortunate interaction with ranger
    and immediate use walking.  An actual solution needs more thoughts.

            PR tree-optimization/122502
            * tree-scalar-evolution.cc (final_value_replacement_loop):
            Avoid folding from within FOR_EACH_IMM_USE_STMT due to active
            ranger.

            * gcc.dg/torture/pr122502.c: New testcase.

Reply via email to