]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP/Fortran: Reject nonintrinsic assignments in OMP WORKSHARE [PR100633]
authorTobias Burnus <tobias@codesourcery.com>
Mon, 17 May 2021 11:20:27 +0000 (13:20 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 18 May 2021 06:46:59 +0000 (08:46 +0200)
commitefb6bda7f5136d59be254b10d2b81ba28be8ecfb
tree94cc336e474dfa2b176fbfeacec9243a27b5ee15
parent0d9e251627200e4c2715cb563da01965e6ce9077
OpenMP/Fortran: Reject nonintrinsic assignments in OMP WORKSHARE [PR100633]

PR fortran/100633

gcc/fortran/ChangeLog:

* resolve.c (gfc_resolve_code): Reject nonintrinsic assignments in
OMP WORKSHARE.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/workshare-59.f90: New test.

(cherry picked from commit 582776eb1b62c32f5234566a01ea92247b7d6bcc)
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/gomp/workshare-59.f90 [new file with mode: 0644]