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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 12 17:28:51 2018
New Revision: 265116

URL: https://gcc.gnu.org/viewcvs?rev=265116&root=gcc&view=rev
Log:
        Backported from mainline
        2018-07-26  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/86660
        * omp-low.c (scan_sharing_clauses): Don't ignore map clauses for
        declare target to variables if they have always,{to,from,tofrom} map
        kinds.

        * testsuite/libgomp.c/pr86660.c: New test.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr86660.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/omp-low.c
    branches/gcc-6-branch/libgomp/ChangeLog

Reply via email to