]> gcc.gnu.org Git - gcc.git/commit
re PR libgomp/59467 (copyprivate in the fortran testsuite)
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Dec 2013 08:52:06 +0000 (09:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Dec 2013 08:52:06 +0000 (09:52 +0100)
commitcab37c89d1d443c24ad189bb8b62f5665ba829ad
tree5b5f9bb96f851af0b0a2ebcbf289d3324fd65c0a
parentc2207d6514ad71067f17fb0887ac51a47b57b24b
re PR libgomp/59467 (copyprivate in the fortran testsuite)

PR libgomp/59467
* gimplify.c (omp_check_private): Add copyprivate argument, if it
is true, don't check omp_privatize_by_reference.
(gimplify_scan_omp_clauses): For OMP_CLAUSE_COPYPRIVATE verify
decl is private in outer context.  Adjust omp_check_private caller.

* gfortran.dg/gomp/pr59467.f90: New test.
* c-c++-common/gomp/pr59467.c: New test.

* testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to
!$omp parallel.

From-SVN: r205922
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr59467.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/pr59467.f90 [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/crayptr2.f90
This page took 0.076021 seconds and 5 git commands to generate.