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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:25add4b65a3bac262685d290a4dc93884a022576

commit r13-8719-g25add4b65a3bac262685d290a4dc93884a022576
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Dec 13 08:45:58 2023 +0100

    tree-optimization/112991 - re-do PR112961 fix

    The following does away with the fake edge adding as in the original
    PR112961 fix and instead exposes handling of entry PHIs as additional
    parameter of the region VN run.

            PR tree-optimization/112991
            PR tree-optimization/112961
            * tree-ssa-sccvn.h (do_rpo_vn): Add skip_entry_phis argument.
            * tree-ssa-sccvn.cc (do_rpo_vn): Likewise.
            (do_rpo_vn_1): Likewise, merge with auto-processing.
            (run_rpo_vn): Adjust.
            (pass_fre::execute): Likewise.
            * tree-if-conv.cc (tree_if_conversion): Revert last change.
            Value-number latch block but disable value-numbering of
            entry PHIs.
            * tree-ssa-uninit.cc (execute_early_warn_uninitialized): Adjust.

            * gcc.dg/torture/pr112991.c: New testcase.
            * g++.dg/vect/pr112961.cc: Likewise.

    (cherry picked from commit 93db32a4146afd2a6d90410691351a56768167c9)

Reply via email to