[PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 28 Feb 2019 20:31:36 +0000 (21:31 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Thu, 28 Feb 2019 20:31:36 +0000 (21:31 +0100)
commit80d6ca01843d2119c913e3adf27d20204846072f
treec1472e54a6fb1e359f39c9dfb1aa8c53d2fdfa2a
parente5fd6684b9577e822997ceedabfeaa7d61722fe2
[PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive

gcc/fortran/
PR fortran/72741
PR fortran/89433
* openmp.c (gfc_match_oacc_routine): Handle repeated use of the
Fortran OpenACC 'routine' directive.
gcc/testsuite/
PR fortran/72741
PR fortran/89433
* gfortran.dg/goacc/routine-multiple-directives-1.f90: New file.
* gfortran.dg/goacc/routine-multiple-directives-2.f90: Likewise.

Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com>
From-SVN: r269287
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-2.f90 [new file with mode: 0644]