https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77666
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 7 22:34:05 2016 New Revision: 243388 URL: https://gcc.gnu.org/viewcvs?rev=243388&root=gcc&view=rev Log: Backported from mainline 2016-09-27 Jakub Jelinek <[email protected]> PR fortran/77666 * trans-openmp.c (gfc_omp_private_outer_ref): Return true even for references to allocatable arrays. * gfortran.dg/gomp/pr77666.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr77666.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/trans-openmp.c branches/gcc-6-branch/gcc/testsuite/ChangeLog
