This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159365 - in /branches/gcc-4_4-branch/gcc: fort...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 13 May 2010 12:39:18 -0000
- Subject: r159365 - in /branches/gcc-4_4-branch/gcc: fort...
Author: jakub
Date: Thu May 13 12:39:17 2010
New Revision: 159365
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159365
Log:
PR fortran/44036
* openmp.c (resolve_omp_clauses): Allow procedure pointers in clause
variable lists.
* trans-openmp.c (gfc_omp_privatize_by_reference): Don't privatize
by reference dummy procedures or non-dummy procedure pointers.
(gfc_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_FIRSTPRIVATE for dummy procedures.
* gfortran.dg/gomp/pr44036-1.f90: New test.
* gfortran.dg/gomp/pr44036-2.f90: New test.
* gfortran.dg/gomp/pr44036-3.f90: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr44036-1.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr44036-2.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr44036-3.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/openmp.c
branches/gcc-4_4-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog