[PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine' directives
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 28 Feb 2019 20:31:01 +0000 (21:31 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Thu, 28 Feb 2019 20:31:01 +0000 (21:31 +0100)
commit6f87db2d7823ff70eca4fa76950aafe8a98d7356
tree63f9d34cc4c79ffa6aef5199ea0ce3a0ac966e72
parent80f52b400e1fc770c96d5e28ac7343aac3733df9
[PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine' directives

gcc/fortran/
PR fortran/72741
PR fortran/89433
* openmp.c (gfc_match_oacc_routine): Accept intrinsic symbols.
gcc/testsuite/
PR fortran/72741
PR fortran/89433
* gfortran.dg/goacc/routine-6.f90: Update
* gfortran.dg/goacc/routine-intrinsic-1.f: New file.
* gfortran.dg/goacc/routine-intrinsic-2.f: Likewise.

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