This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2016 15:31:05 +0000
- Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-71014-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71014
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 19 15:30:33 2016
New Revision: 239620
URL: https://gcc.gnu.org/viewcvs?rev=239620&root=gcc&view=rev
Log:
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:
trunk/libgomp/testsuite/libgomp.fortran/pr71014.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/libgomp/ChangeLog