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

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

https://gcc.gnu.org/g:7950d4cceb9fc7559b1343c95fc651cefbe287a0

commit r15-7883-g7950d4cceb9fc7559b1343c95fc651cefbe287a0
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Mar 7 10:15:20 2025 +0100

    tree-optimization/119145 - avoid stray .MASK_CALL after vectorization

    When we BB vectorize an if-converted loop body we make sure to not
    leave around .MASK_LOAD or .MASK_STORE created by if-conversion but
    we failed to check for .MASK_CALL.

            PR tree-optimization/119145
            * tree-vectorizer.cc (try_vectorize_loop_1): Avoid BB
            vectorizing an if-converted loop body when there's a .MASK_CALL
            in the loop body.

            * gcc.dg/vect/pr119145.c: New testcase.

Reply via email to