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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<[email protected]>:

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

commit r14-12441-gc07c3adea84960c82b38f93af4b9363b5707aedf
Author: Richard Biener <[email protected]>
Date:   Wed Jan 28 10:04:45 2026 +0100

    tree-optimization/123537 - fix too permissive .REDUC_* folding

    The following restricts the allowed conversions to those maintaining
    the element type size.

            PR tree-optimization/123537
            * match.pd (REDUC (@0 & @1) -> @0[I] & @1[I]): Restrict
            allowed conversions.

            * gcc.dg/pr123537.c: New testcase.

    (cherry picked from commit 6868526bb79051895864a006c757ee5aee8e9574)

Reply via email to