diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2019-10-08 12:30:44 +0000 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2019-10-08 14:30:44 +0200 |
commit | 65b67cf390bc0240a91730e8eb95d7a7b2d8aca0 (patch) | |
tree | b10fb9025ed0c26d31a8bc2f3390aa3f8cfba6de /gcc | |
parent | 07f37a7fd4b84f996264b7498c55ac333efd4db9 (diff) | |
download | gcc-65b67cf390bc0240a91730e8eb95d7a7b2d8aca0.zip gcc-65b67cf390bc0240a91730e8eb95d7a7b2d8aca0.tar.gz gcc-65b67cf390bc0240a91730e8eb95d7a7b2d8aca0.tar.bz2 |
Fortran - fix OpenMP 'target simd'
gcc/fortran/
* parse.c (parse_executable): Add missing ST_OMP_TARGET_SIMD.
libgomp/
* testsuite/libgomp.fortran/target-simd.f90: New.
From-SVN: r276698
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/parse.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 309d4ef..b5bef54 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,5 +1,9 @@ 2019-10-08 Tobias Burnus <tobias@codesourcery.com> + * parse.c (parse_executable): Add missing ST_OMP_TARGET_SIMD. + +2019-10-08 Tobias Burnus <tobias@codesourcery.com> + * match.h (gfc_match_omp_eos_error): Renamed from gfc_match_omp_eos. * openmp.c (gfc_match_omp_eos): Make static. (gfc_match_omp_eos_error): New. diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 03fc716..15f6bf2 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -5534,6 +5534,7 @@ parse_executable (gfc_statement st) case ST_OMP_SIMD: case ST_OMP_TARGET_PARALLEL_DO: case ST_OMP_TARGET_PARALLEL_DO_SIMD: + case ST_OMP_TARGET_SIMD: case ST_OMP_TARGET_TEAMS_DISTRIBUTE: case ST_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_DO: case ST_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_DO_SIMD: |