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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

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

commit r14-2737-gfb132cdfb204bc12851eb1d5852eef6f03c13af3
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jul 24 08:40:19 2023 +0200

    tree-optimization/110766 - missing PHI location check

    The following adds a missing PHI location check before querying
    the loop latch PHI arg from it.

            PR tree-optimization/110766
            * tree-scalar-evolution.cc
            (analyze_and_compute_bitwise_induction_effect): Check the PHI
            is defined in the loop header.

            * gcc.dg/torture/pr110766.c: New testcase.

Reply via email to