[Bug tree-optimization/79411] [5/6 Regression] ICE: SSA corruption (fail_abnormal_edge_coalesce)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 15 07:22:00 GMT 2017


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 15 07:21:42 2017
New Revision: 245473

URL: https://gcc.gnu.org/viewcvs?rev=245473&root=gcc&view=rev
Log:
        Backported from mainline
        2017-02-10  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/79411
        * tree-ssa-reassoc.c (is_reassociable_op): Return false if
        stmt operands are SSA_NAMEs used in abnormal phis.
        (can_reassociate_p): Return false if op is SSA_NAME used in abnormal
        phis.

        * gcc.c-torture/compile/pr79411.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/compile/pr79411.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-ssa-reassoc.c


More information about the Gcc-bugs mailing list