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

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

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

commit r15-10002-gb37d0b2f6203ec3978459bc4cbce9bd9aa110025
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jul 14 14:09:28 2025 +0200

    tree-optimization/121059 - fixup loop mask query

    When we opportunistically mask an operand of a AND with an already
    available loop mask we need to query that set with the correct number
    of masks we expect.

            PR tree-optimization/121059
            * tree-vect-stmts.cc (vectorizable_operation): Query
            scalar_cond_masked_set with the correct number of masks.

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

    Co-Authored-By: Richard Sandiford  <richard.sandif...@arm.com>
    (cherry picked from commit 71be87055548cf942c7bc56d10ffd479db8569e4)

Reply via email to