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

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

https://gcc.gnu.org/g:5a6d911ca2e253297bc2f3be9d9db2a71a244a94

commit r16-5962-g5a6d911ca2e253297bc2f3be9d9db2a71a244a94
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.

Reply via email to