]> 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>
Tue, 4 Oct 2022 15:03:32 +0000 (17:03 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 4 Oct 2022 15:03:32 +0000 (17:03 +0200)
commit8792047470073df0da4a5b91997d6058193d7676
tree4cb04ebd722d30d6d6450c1911256f743c393750
parent3b8bcc3f8b821e7359f8504334488ff2b1fc8f30
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.
gcc/doc/invoke.texi
gcc/fortran/parse.cc
gcc/testsuite/gfortran.dg/gomp/openmp-simd-7.f90 [new file with mode: 0644]