[Bug fortran/94690] [OpenMP] omp ... distribute – lastprivate not permitted and more issues

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 13 08:07:24 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94690

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:f884bef21cccc05d748fd7869cd641cbb4f6b6bb

commit r11-349-gf884bef21cccc05d748fd7869cd641cbb4f6b6bb
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed May 13 10:06:45 2020 +0200

    [Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690)

    gcc/fortran/
    2020-05-13  Tobias Burnus  <tobias@codesourcery.com>

            PR fortran/94690
            * openmp.c (OMP_DISTRIBUTE_CLAUSES): Add OMP_CLAUSE_LASTPRIVATE.
            (gfc_resolve_do_iterator): Skip the private handling for SIMD as
            that is handled by ME code.
            * trans-openmp.c (gfc_trans_omp_do): Don't add private/lastprivate
            for dovar_found == 0, unless !simple.

    libgomp/
    2020-05-13  Tobias Burnus  <tobias@codesourcery.com>

            PR fortran/94690
            * testsuite/libgomp.fortran/pr66199-3.f90: New.
            * testsuite/libgomp.fortran/pr66199-4.f90: New.
            * testsuite/libgomp.fortran/pr66199-5.f90: New.
            * testsuite/libgomp.fortran/pr66199-6.f90: New.
            * testsuite/libgomp.fortran/pr66199-7.f90: New.
            * testsuite/libgomp.fortran/pr66199-8.f90: New.
            * testsuite/libgomp.fortran/pr66199-9.f90: New.


More information about the Gcc-bugs mailing list