[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 1 11:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 1 11:41:34 2016
New Revision: 239928
URL: https://gcc.gnu.org/viewcvs?rev=239928&root=gcc&view=rev
Log:
Backported from mainline
2016-08-19 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-6-branch/libgomp/testsuite/libgomp.fortran/pr71014.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list