OSDN Git Service

PR fortran/43339
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 21:51:28 +0000 (21:51 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:06:19 +0000 (10:06 +0900)
* openmp.c (gfc_resolve_do_iterator): Only make iteration vars for
sequential loops private in the innermost containing task region.

* gfortran.dg/gomp/sharing-2.f90: Adjust for iteration vars
of sequential loops being private only in the innermost containing
task region.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158528 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index 61297f9..b9a4ebb 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/43339
+       * openmp.c (gfc_resolve_do_iterator): Only make iteration vars for
+       sequential loops private in the innermost containing task region.
+
 2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
 
        * f95-lang.c (gfc_init_decl_processing): Remove second argument in call
index d298675..dbde635 100644 (file)
@@ -1,5 +1,10 @@
 2010-04-19  Jakub Jelinek  <jakub@redhat.com>
 
+       PR fortran/43339
+       * gfortran.dg/gomp/sharing-2.f90: Adjust for iteration vars
+       of sequential loops being private only in the innermost containing
+       task region.
+
        PR middle-end/43337
        * gfortran.dg/gomp/pr43337.f90: New test.