[Bug tree-optimization/84956] [6/7/8 Regression] ICE in replace_block_by, at tree-ssa-tail-merge.c:1546

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 11:01:00 GMT 2018


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

--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Thu Mar 22 11:01:15 2018
New Revision: 258762

URL: https://gcc.gnu.org/viewcvs?rev=258762&root=gcc&view=rev
Log:
backport "[tail-merge] Don't merge bbs with bb_has_abnormal_pred"

2018-03-22  Tom de Vries  <tom@codesourcery.com>

        backport from trunk:
        2018-03-22  Tom de Vries  <tom@codesourcery.com>

        PR tree-optimization/84956
        * tree-ssa-tail-merge.c (find_clusters_1): Skip bbs with
        bb_has_abnormal_pred.

        * gcc.dg/pr84956.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr84956.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-ssa-tail-merge.c


More information about the Gcc-bugs mailing list