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

--- Comment #16 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:71be87055548cf942c7bc56d10ffd479db8569e4

commit r16-2259-g71be87055548cf942c7bc56d10ffd479db8569e4
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>

Reply via email to