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

--- 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:e86951e831b893ee8fdc3f87d77dd469b8ec8500

commit r17-6065-ge86951e831b893ee8fdc3f87d77dd469b8ec8500
Author: Richard Biener <[email protected]>
Date:   Mon Nov 9 15:56:57 2026 +0100

    tree-optimization/128517 - clear LOOP_C_FINITE for scalar prologue/epilogue

    The following makes sure to not confuse scalar passes after
    vectorization for the scalar prologue/epilogue loops which for
    early break vectorization with assumptions may not record all
    assumptions of non-main exits in the versioning condition and
    thus exit the loop through alternate exits.

            PR tree-optimization/128517
            * tree-vect-loop-manip.cc (vect_do_peeling): Clear
            LOOP_C_FINITE for scalar prologue and epilogue if
            doing early-break vectorization.

            * gcc.dg/vect/vect-early-break_150-pr128517.c: New testcase.

Reply via email to