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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:45:47 2017
New Revision: 248629

URL: https://gcc.gnu.org/viewcvs?rev=248629&root=gcc&view=rev
Log:
        Backported from mainline
        2016-11-28  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/78298
        * tree-nested.c (convert_local_reference_stmt): After adding
        shared (FRAME.NN) clause to omp parallel, task or target,
        add it also to all outer omp parallel, task or target constructs.

        * gfortran.dg/gomp/pr78298.f90: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr78298.f90
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-nested.c

Reply via email to