openmp: Handle rest of EXEC_OACC_* in oacc_code_to_statement [PR93463]
authorJakub Jelinek <jakub@redhat.com>
Wed, 29 Jan 2020 08:39:16 +0000 (09:39 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 29 Jan 2020 08:39:16 +0000 (09:39 +0100)
commitaa1b56967d85bfc80d71341395f862ec2b30ca36
treed49c903d0658da8b7edbbf0a814c2d7487425490
parent7892ff37f407ef47ee852f281a80fa0dba6a5a67
openmp: Handle rest of EXEC_OACC_* in oacc_code_to_statement [PR93463]

As the testcase shows, some EXEC_OACC_* codes weren't handled in
oacc_code_to_statement.  Fixed thusly.

2020-01-29  Jakub Jelinek  <jakub@redhat.com>

PR fortran/93463
* openmp.c (oacc_code_to_statement): Handle
EXEC_OACC_{ROUTINE,UPDATE,WAIT,CACHE,{ENTER,EXIT}_DATA,DECLARE}.

* gfortran.dg/goacc/pr93463.f90: New test.
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/pr93463.f90 [new file with mode: 0644]