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 middle-end/59152] [4.9 Regression] ICE: loop 2's latch does not have an edge to its header with -fopenmp -fipa-pure-const


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59152

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Nov 26 20:38:10 2013
New Revision: 205410

URL: http://gcc.gnu.org/viewcvs?rev=205410&root=gcc&view=rev
Log:
    PR middle-end/59152
    * omp-low.c (expand_omp_for_static_chunk): Don't set loop->latch
    for the inner loop if collapse_bb is non-NULL.
    (expand_omp_simd): Use cont_bb rather than e->dest as latch.

    * c-c++-common/gomp/pr59152.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr59152.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog


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