re PR fortran/78298 (ICE in lookup_decl_in_outer_ctx, bei omp-low.c:4115)
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Nov 2016 17:31:37 +0000 (18:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Nov 2016 17:31:37 +0000 (18:31 +0100)
commit80cf1b8b60a246866808ee2e14cfcbe8f3bf7de0
treec657706f30cec0d18f187de4c8d29f2368a6d538
parentbf9e8b6b50952b31d04179bae1ebb4c09ffdc1cf
re PR fortran/78298 (ICE in lookup_decl_in_outer_ctx, bei omp-low.c:4115)

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.

From-SVN: r242926
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr78298.f90 [new file with mode: 0644]
gcc/tree-nested.c