[Patch] Fortran: Add 'omp scan' support of OpenMP 5.0
Tobias Burnus
tobias@codesourcery.com
Tue Dec 8 12:13:07 GMT 2020
In a previous patch, the 'inscan' reduction-clause modifier was added.
This patch add the associated 'omp scan' for two reasons:
First, to make it actually usable and, secondly, to avoid some corner
cases where 'inscan' slips through without the required 'sorry'
(as it can happen with the current code).
(The change to 'gfc_match_omp_taskgroup' is an unrelated cleanup.)
This still works with the current list OMP_LIST_* and adds two more
items; I still need to update my previous patch to avoid carrying
around this long list.
The testcases are mostly converted C/C++ test cases; I moved some
code as some errors are FE and some are ME errors and currently
ME errors only show up if there are no FE errors.
OK?
Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omp-scan.diff
Type: text/x-patch
Size: 39333 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20201208/bba0db5c/attachment-0001.bin>
More information about the Fortran
mailing list