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

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

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

commit r17-2485-gbbc7fd5ae68069863b77a9d614a9aa82a4079e58
Author: Naveen <[email protected]>
Date:   Fri Jul 17 04:13:10 2026 -0700

    testsuite: Add regression test for PR81549

    The testcase from PR tree-optimization/81549 is already optimized on
    current trunk by the existing loop-PHI final-value replacement code.
    Add the testcase to preserve coverage for the delayed loop-carried value
    and verify that the final stores and return value are folded to constants.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/81549
            * gcc.dg/tree-ssa/pr81549.c: New test.
            * gcc.dg/tree-ssa/pr81549-2.c: New test.

    Signed-off-by: Naveen <[email protected]>

Reply via email to