This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78298] ICE in lookup_decl_in_outer_ctx, bei omp-low.c:4115
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 May 2017 07:46:21 +0000
- Subject: [Bug fortran/78298] ICE in lookup_decl_in_outer_ctx, bei omp-low.c:4115
- Auto-submitted: auto-generated
- References: <bug-78298-4@http.gcc.gnu.org/bugzilla/>
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 <jakub@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