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

--- Comment #7 from CVS 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:7004272e9b16e801eb856a991930d81e9c501532

commit r13-7611-g7004272e9b16e801eb856a991930d81e9c501532
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.

    (cherry picked from commit fb132cdfb204bc12851eb1d5852eef6f03c13af3)

Reply via email to