[Bug tree-optimization/96349] [10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 3 which are marked as MUST COALESCE.) [in fail_abnormal_edge_coalesce]

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 11 12:11:51 GMT 2020


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

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

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

commit r10-8744-gd1f9b13fd45f9c7ca6c5dd31245705388645f306
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Jul 28 09:45:52 2020 +0200

    tree-optimization/96349 - avoid abnormal coalescing issues in loop split

    This avoids splitting a loop when the entry value of a loop PHI is
    involved with abnormal coalescing.

    2020-07-28  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/96349
            * tree-ssa-loop-split.c (stmt_semi_invariant_p_1): When the
            condition runs into a loop PHI with an abnormal entry value give
up.

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

    (cherry picked from commit 2b2f3867c09c8977268b8ffbd646ac242188b335)


More information about the Gcc-bugs mailing list