[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17 since r12-3876-g4a960d548b7d7d94

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 12 19:46:38 GMT 2021


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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <aldyh@gcc.gnu.org>:

https://gcc.gnu.org/g:264f061997c0a5349cdce6d73f0dc167ac7fc8f4

commit r12-5216-g264f061997c0a5349cdce6d73f0dc167ac7fc8f4
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Fri Nov 12 16:08:01 2021 +0100

    path solver: Solve PHI imports first for ranges.

    PHIs must be resolved first while solving ranges in a block,
    regardless of where they appear in the import bitmap.  We went through
    a similar exercise for the relational code, but missed these.

    Tested on x86-64 & ppc64le Linux.

    gcc/ChangeLog:

            PR tree-optimization/103202
            * gimple-range-path.cc
            (path_range_query::compute_ranges_in_block): Solve PHI imports
first.


More information about the Gcc-bugs mailing list