https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71717
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 7 21:55:37 2016 New Revision: 238148 URL: https://gcc.gnu.org/viewcvs?rev=238148&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-4_9-branch/libgomp/testsuite/libgomp.fortran/associate3.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-openmp.c branches/gcc-4_9-branch/libgomp/ChangeLog