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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:94fa4c67b95c12482b6087d8eef2d72f7b7ea254

commit r12-936-g94fa4c67b95c12482b6087d8eef2d72f7b7ea254
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu May 20 09:17:40 2021 +0200

    openmp: Handle explicit linear clause properly in combined constructs with
target [PR99928]

    linear clause should have the effect of firstprivate+lastprivate (or for
IVs
    not declared in the construct lastprivate) on outer constructs and
eventually
    map(tofrom:) on target when combined with it.

    2021-05-20  Jakub Jelinek  <ja...@redhat.com>

            PR middle-end/99928
            * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_LINEAR>:
For
            explicit linear clause when combined with target, make it
map(tofrom:)
            instead of no clause or firstprivate.

            * c-c++-common/gomp/pr99928-4.c: Remove all xfails.
            * c-c++-common/gomp/pr99928-5.c: Likewise.

Reply via email to