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

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

https://gcc.gnu.org/g:45118c664e23be92a57e04a93dfd5196d2394df5

commit r17-7103-g45118c664e23be92a57e04a93dfd5196d2394df5
Author: Robin Dapp <[email protected]>
Date:   Wed Dec 2 12:36:59 2026 +0100

    vect: Don't record nowrap assumptions for inner loops. [PR128704]

    Nowrap assumptions are currently implicitly associated with one loop and
    building the assumption will go wrong for inner loops, e.g. if we take
    niter from the outer loop.

            PR tree-optimization/128704

    gcc/ChangeLog:

            * tree-vect-loop.cc (vect_get_datarefs_in_loop): Don't record
            nowrap assumptions for inner loops.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/pr128704.c: New test.

Reply via email to