[Bug fortran/85313] gcc/fortran/openmp.c: 2 * confused logic ?
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 22 21:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85313
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 21:09:32 2018
New Revision: 261952
URL: https://gcc.gnu.org/viewcvs?rev=261952&root=gcc&view=rev
Log:
Backported from mainline
2018-04-10 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/pr85313.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/openmp.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list