]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP: Update invoke.texi and fix fortran/parse.cc for -fopenmp-simd
authorTobias Burnus <tobias@codesourcery.com>
Wed, 5 Oct 2022 13:39:03 +0000 (15:39 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 5 Oct 2022 13:39:03 +0000 (15:39 +0200)
commit5c341c056b0706d88a03a10061cdaf356b737bb4
treec73cde4dbca980b8073d986fa9d80be007efbc93
parente9c986d63ea700d0ff6f7f7158921414ff8dbafc
OpenMP: Update invoke.texi and fix fortran/parse.cc for -fopenmp-simd

Split off from the 'Fortran: Add OpenMP's assume(s) directives' patch.

gcc/
* doc/invoke.texi (-fopenmp): Mention C++ attribut syntax.
(-fopenmp-simd): Likewise; update permitted directives.

gcc/fortran/
* parse.cc (decode_omp_directive): Handle '(end) loop' and 'scan'
also with -fopenmp-simd.

gcc/testsuite/
* gfortran.dg/gomp/openmp-simd-7.f90: New test.

(cherry picked from commit 8792047470073df0da4a5b91997d6058193d7676)
gcc/ChangeLog.omp
gcc/doc/invoke.texi
gcc/fortran/ChangeLog.omp
gcc/fortran/parse.cc
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/gomp/openmp-simd-7.f90 [new file with mode: 0644]