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

--- Comment #4 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:a2ef8395fa970498985764514044e5fd00f7d5c0

commit r12-1718-ga2ef8395fa970498985764514044e5fd00f7d5c0
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Jun 22 10:14:02 2021 +0200

    tree-optimization/101151 - fix irreducible region check for sinking

    The check whether two blocks are in the same irreducible region
    and thus post-dominance checks being unreliable was incomplete
    since an irreducible region can contain reducible sub-regions but
    if one block is in the irreducible part and one not the check
    still doesn't work as expected.

    2021-06-22  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/101151
            * tree-ssa-sink.c (statement_sink_location): Expand irreducible
            region check.

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

Reply via email to