[PR85221] Set 'omp declare target', 'omp declare target link' attributes for Fortran...
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 18 Jun 2019 22:15:43 +0000 (00:15 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 18 Jun 2019 22:15:43 +0000 (00:15 +0200)
commitca8ecd919453664b1312e6c7d236e404731d8bb0
tree1e4e88568ff968cd0e7942ff3f2d651473a1250c
parent02fd3a0ecc6931fcb0afc1b74ebc38d178c2d84f
[PR85221] Set 'omp declare target', 'omp declare target link' attributes for Fortran OpenACC 'declare'd variables

gcc/fortran/
PR fortran/85221
* trans-decl.c (add_attributes_to_decl): Handle OpenACC 'declare'
directive.
gcc/testsuite/
PR fortran/85221
* gfortran.dg/goacc/declare-3.f95: New file.

From-SVN: r272453
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/declare-3.f95 [new file with mode: 0644]