openmp: Handle rest of EXEC_OACC_* in oacc_code_to_statement [PR93463]
commite0cbedff53ead3bbb6e7af959c727a04ec8445c7
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 Feb 2020 14:45:07 +0000 (14 15:45 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 14 Feb 2020 15:01:47 +0000 (14 16:01 +0100)
tree281a9efa2b308ff49e0140860ae39456df1b950c
parent83799a013b4a7f555b1a168fcb5f8df25edede99
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]