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

--- Comment #6 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:82a9c3b4850be48ed1ed5cc471720a2445d50443

commit r17-5736-g82a9c3b4850be48ed1ed5cc471720a2445d50443
Author: Richard Biener <[email protected]>
Date:   Thu Oct 29 10:02:35 2026 +0100

    tree-optimization/128277 - simple latches for CCP

    With CCP we really want less latch edges because those eventually
    trigger re-simulation of the header PHI separately, so initialize
    loops with LOOPS_HAVE_SIMPLE_LATCHES.

    This causes gcc.dg/tree-ssa/loop-25.c to regress because we now
    disambiguate earlier.

            PR tree-optimization/128277
            * tree-ssa-ccp.cc (do_ssa_ccp): Initialize loops with
            LOOPS_HAVE_SIMPLE_LATCHES.

            * gcc.dg/tree-ssa/loop-25.c: Adjust.

Reply via email to