re PR fortran/71717 (A gfortran silent "wrong code" bug in the transition from 4...
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Jul 2016 15:13:28 +0000 (17:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Jul 2016 15:13:28 +0000 (17:13 +0200)
commita8dbab92f0f397bd4b5f5a8d4fc08823006151be
tree76e4197fa3c97b1491a427e833fb69f6a75ff09b
parent059541fd113a360000b08753e355898cdeeaa431
re PR fortran/71717 (A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.)

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.

From-SVN: r237916
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/associate3.f90 [new file with mode: 0644]