diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-11-09 16:16:44 +0100 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-11-09 16:16:44 +0100 |
commit | f27a3b37b4805feba138dd421f039e3267b1c5f0 (patch) | |
tree | a5e6f860c63718ba9d2b514c504afe18212d8960 /gcc/config/arc/constraints.md | |
parent | b2b85163731e8647542f2f7561bd4c69ae5f5f2a (diff) | |
download | gcc-f27a3b37b4805feba138dd421f039e3267b1c5f0.zip gcc-f27a3b37b4805feba138dd421f039e3267b1c5f0.tar.gz gcc-f27a3b37b4805feba138dd421f039e3267b1c5f0.tar.bz2 |
Fortran: Fix OpenACC in specification-part checks [PR90111]
OpenACC's routine and declare directives can appear anywhere in the
specification part, i.e. before/after use-stmts, import-stmt, implicit-part,
or declaration-constructs.
gcc/fortran/ChangeLog:
PR fortran/90111
* parse.c (case_decl): Move ST_OACC_ROUTINE and ST_OACC_DECLARE to ...
(case_omp_decl): ... here.
(verify_st_order): Update comment.
gcc/testsuite/ChangeLog:
PR fortran/90111
* gfortran.dg/goacc/specification-part.f90: New test.
Diffstat (limited to 'gcc/config/arc/constraints.md')
0 files changed, 0 insertions, 0 deletions