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/81192] [8 Regression] gcc ICE at -Os on x86_64-linux-gnu: Segmentation fault


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

--- Comment #15 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Mon Jul  3 07:21:34 2017
New Revision: 249894

URL: https://gcc.gnu.org/viewcvs?rev=249894&root=gcc&view=rev
Log:
Don't tail-merge blocks from different loops

2017-07-03  Tom de Vries  <tom@codesourcery.com>

        PR tree-optimization/81192
        * tree-ssa-tail-merge.c (same_succ_hash): Use bb->loop_father->num in
        hash.
        (same_succ::equal): Don't find bbs to be equal if bb->loop_father
        differs.
        (find_same_succ_bb): Remove obsolete test on bb->loop_father->latch.

        * gcc.dg/pr81192.c: Update.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr81192.c
    trunk/gcc/tree-ssa-tail-merge.c

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