This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:58:01 2017
New Revision: 248642

URL: https://gcc.gnu.org/viewcvs?rev=248642&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-5-branch/gcc/testsuite/gcc.c-torture/compile/pr79411.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-reassoc.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]