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

--- Comment #8 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:eeb6091821b39c6df060a58cc740284e3b4f0f97

commit r15-10659-geeb6091821b39c6df060a58cc740284e3b4f0f97
Author: Richard Biener <[email protected]>
Date:   Mon Dec 8 11:06:54 2025 +0100

    tree-optimization/123040 - handle nary -> ifn simplification in VN

    The following handles (by rejecting) simplifications that end up
    turning a VN NARY operation into a call which would be a VN REFERENCE
    and is unexpected and not handled.

            PR tree-optimization/123040
            * tree-ssa-sccvn.cc (vn_nary_build_or_lookup_1): Only insert
            nary results.

            * g++.dg/torture/pr123040.C: New testcase.

    (cherry picked from commit 5a6d911ca2e253297bc2f3be9d9db2a71a244a94)

Reply via email to