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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec  7 22:57:39 2016
New Revision: 243410

URL: https://gcc.gnu.org/viewcvs?rev=243410&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-6-branch/gcc/testsuite/gfortran.dg/gomp/pr78298.f90
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-nested.c

Reply via email to