[Bug tree-optimization/123983] [16 Regression] wrong code at -O1 -ftree-vectorize on x86_64-pc-linux-gnu

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 5 12:59:14 GMT 2026


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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:856ba1d7f786b0b5e53042e292296391ae1b0da4

commit r16-7324-g856ba1d7f786b0b5e53042e292296391ae1b0da4
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Feb 5 11:09:59 2026 +0100

    tree-optimization/123983 - only update IV on the requested edge

    The following reverts back to only updating the IV after the
    vectorized loop on the requested edge which avoids disrupting
    live value vectorization.

            PR tree-optimization/123983
            * tree-vect-loop-manip.cc (vect_update_ivs_after_vectorizer):
            Only update the PHI argument on the requested edge.

            * gcc.dg/vect/vect-pr123983.c: New testcase.


More information about the Gcc-bugs mailing list