This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r172720 - in /branches/gomp-3_1-branch: gcc/for...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 Apr 2011 16:43:53 -0000
- Subject: r172720 - in /branches/gomp-3_1-branch: gcc/for...
Author: jakub
Date: Tue Apr 19 16:43:51 2011
New Revision: 172720
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172720
Log:
PR fortran/46752
* trans-openmp.c (gfc_omp_clause_copy_ctor): Handle
non-allocated allocatable.
* openmp.c (resolve_omp_clauses): Allow POINTERs and
Cray pointers in clauses other than REDUCTION.
* trans-openmp.c (gfc_omp_predetermined_sharing): Adjust
comment.
* gfortran.dg/gomp/crayptr1.f90: Don't expect error
about Cray pointer in FIRSTPRIVATE/LASTPRIVATE.
* testsuite/libgomp.fortran/crayptr3.f90: New test.
* testsuite/libgomp.fortran/allocatable7.f90: New test.
* testsuite/libgomp.fortran/pointer1.f90: New test.
* testsuite/libgomp.fortran/pointer2.f90: New test.
Added:
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.fortran/allocatable7.f90
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.fortran/crayptr3.f90
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.fortran/pointer1.f90
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.fortran/pointer2.f90
Modified:
branches/gomp-3_1-branch/gcc/fortran/ChangeLog
branches/gomp-3_1-branch/gcc/fortran/openmp.c
branches/gomp-3_1-branch/gcc/fortran/trans-openmp.c
branches/gomp-3_1-branch/gcc/testsuite/ChangeLog
branches/gomp-3_1-branch/gcc/testsuite/gfortran.dg/gomp/crayptr1.f90
branches/gomp-3_1-branch/libgomp/ChangeLog