diff options
author | Cesar Philippidis <cesar@codesourcery.com> | 2019-10-25 14:28:40 +0000 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2019-10-25 14:28:40 +0000 |
commit | dac28965a97cf60aa5fdafa072d23a2c5d979b74 (patch) | |
tree | cf234892de7408cd52df5184bcccdcae675e7bb4 /libgomp/ChangeLog | |
parent | b86da704101769d0b21f872e70847191b4b6368e (diff) |
[Fortran] OpenACC – permit common blocks in some clauses
2019-10-25 Cesar Philippidis <cesar@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>
gcc/fortran/
* openmp.c (gfc_match_omp_map_clause): Add and pass allow_commons
argument.
(gfc_match_omp_clauses): Update calls to permit common blocks for
OpenACC's copy/copyin/copyout, create/delete, host,
pcopy/pcopy_in/pcopy_out, present_or_copy, present_or_copy_in,
present_or_copy_out, present_or_create and self.
gcc/
* gimplify.c (oacc_default_clause): Privatize fortran common blocks.
(omp_notice_variable): Defer the expansion of DECL_VALUE_EXPR for
common block decls.
gcc/testsuite/
* gfortran.dg/goacc/common-block-1.f90: New test.
* gfortran.dg/goacc/common-block-2.f90: New test.
* gfortran.dg/goacc/common-block-3.f90: New test.
libgomp/
* testsuite/libgomp.oacc-fortran/common-block-1.f90: New test.
* testsuite/libgomp.oacc-fortran/common-block-2.f90: New test.
* testsuite/libgomp.oacc-fortran/common-block-3.f90: New test.
Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@277451 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 62a18ad2882..351df1153fd 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2019-10-25 Cesar Philippidis <cesar@codesourcery.com> + Tobias Burnus <tobias@codesourcery.com> + + * testsuite/libgomp.oacc-fortran/common-block-1.f90: New test. + * testsuite/libgomp.oacc-fortran/common-block-2.f90: New test. + * testsuite/libgomp.oacc-fortran/common-block-3.f90: New test. + 2019-10-14 Jakub Jelinek <jakub@redhat.com> PR libgomp/92081 |