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

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

https://gcc.gnu.org/g:42ad4563507ee01b3b01ab0107dabe4470d4ae07

commit r15-10770-g42ad4563507ee01b3b01ab0107dabe4470d4ae07
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