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

--- Comment #2 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:6acd5534ad3ab6208cda68fddb48eb73260d6508

commit r16-3539-g6acd5534ad3ab6208cda68fddb48eb73260d6508
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Sep 3 11:04:49 2025 +0200

    tree-optimization/121767 - modvar pattern breaking reductions

    The a % b -> a - a / b pattern breaks reduction constraints, disable it
    for reduction stmts.

            PR tree-optimization/121767
            * tree-vect-patterns.cc (vect_recog_mod_var_pattern): Disable
            for reductions.

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

Reply via email to