https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71717
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 7 12:51:01 2016 New Revision: 238104 URL: https://gcc.gnu.org/viewcvs?rev=238104&root=gcc&view=rev Log: Backported from mainline 2016-07-01 Jakub Jelinek <ja...@redhat.com> PR fortran/71717 * trans-openmp.c (gfc_omp_privatize_by_reference): Return false for GFC_DECL_ASSOCIATE_VAR_P with POINTER_TYPE. * testsuite/libgomp.fortran/associate3.f90: New test. Added: branches/gcc-5-branch/libgomp/testsuite/libgomp.fortran/associate3.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/trans-openmp.c branches/gcc-5-branch/libgomp/ChangeLog