re PR fortran/71014 (associate statement inside omp parallel do appears to disable...
authorJakub Jelinek <jakub@redhat.com>
Fri, 19 Aug 2016 15:30:33 +0000 (17:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 19 Aug 2016 15:30:33 +0000 (17:30 +0200)
commit1cad92845380a2175e70f5d6772d172f5c334201
treec842c4c7d0803c5787383e84c95b89f6c746b55b
parentfbdbd4b6d78bb9730107ebf5b2e7351f0d3dbf33
re PR fortran/71014 (associate statement inside omp parallel do appears to disable default private attribute for inner loop indices)

PR fortran/71014
* resolve.c (gfc_resolve): For ns->construct_entities don't save, clear
and restore omp state around the resolving.

* testsuite/libgomp.fortran/pr71014.f90: New test.

From-SVN: r239620
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr71014.f90 [new file with mode: 0644]