re PR fortran/85313 (gcc/fortran/openmp.c: 2 * confused logic ?)
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 Apr 2018 14:04:37 +0000 (16:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 Apr 2018 14:04:37 +0000 (16:04 +0200)
commit24f80aa404d41a79214e6c67cc0076664eb110b9
tree73e47b8b39d8eed59f017f96a3fd199eb0bfdd21
parentc16833dc2c512e3be8ee7cf84d9fac9853bfcd89
re PR fortran/85313 (gcc/fortran/openmp.c: 2 * confused logic ?)

PR fortran/85313
* openmp.c (resolve_omp_do): Remove bogus if (j < i) break;.
(resolve_oacc_nested_loops): Likewise.  Formatting fix.

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

From-SVN: r259275
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr85313.f90 [new file with mode: 0644]