OpenACC/Fortran: Reject '!$acc atomic update capture'
authorTobias Burnus <tobias@codesourcery.com>
Fri, 6 Nov 2020 11:30:20 +0000 (12:30 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 6 Nov 2020 11:30:20 +0000 (12:30 +0100)
commitc2e9f586fde57e64dc20e5528870d06cde894785
tree5b840a820e2939408baa00988b8ce63000cb9b9e
parenta2c11935b010ee55f7ccd14d27f62c6fbed3745e
OpenACC/Fortran: Reject '!$acc atomic update capture'

gcc/fortran/ChangeLog:

* openmp.c (gfc_match_oacc_atomic): No longer accept 'update capture'.

gcc/testsuite/ChangeLog:

* gfortran.dg/goacc-gomp/goacc-gomp.exp: New.
* gfortran.dg/goacc-gomp/atomic.f90: New test.
* gfortran.dg/goacc/atomic.f90: New test.
gcc/fortran/openmp.c
gcc/testsuite/gfortran.dg/goacc-gomp/atomic.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc-gomp/goacc-gomp.exp [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/atomic.f90 [new file with mode: 0644]