re PR fortran/77666 (ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp...
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Sep 2016 07:52:28 +0000 (09:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Sep 2016 07:52:28 +0000 (09:52 +0200)
commitf2e0c4e1ce34642b613ec2ed6cd2be83b1753849
treed17be163d5873dd2df5a75cc7d91cd0976c4bd21
parent0fbac2d130600a37414c33ecf2c12c9c8945f353
re PR fortran/77666 (ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:471)

PR fortran/77666
* trans-openmp.c (gfc_omp_private_outer_ref): Return true even for
references to allocatable arrays.

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

From-SVN: r240522
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr77666.f90 [new file with mode: 0644]