re PR fortran/78299 (ICE in expand_omp_for_static_nochunk, at omp-low.c:9622)
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Nov 2016 18:19:09 +0000 (19:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Nov 2016 18:19:09 +0000 (19:19 +0100)
commit5e8d7713becd848449a35231d58b8b0965467784
tree62a575ab35330c44e40658247c65b0cf700c4754
parentdd784916f5a7bd522e8b27f274a3e9a6d14d892f
re PR fortran/78299 (ICE in expand_omp_for_static_nochunk, at omp-low.c:9622)

PR fortran/78299
* omp-low.c (expand_omp_for_static_nochunk): Don't assert
that loop->header == body_bb if broken_loop.

* gfortran.dg/gomp/pr78299.f90: New test.

From-SVN: r242507
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr78299.f90 [new file with mode: 0644]