]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans-openmp.c:614)
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Dec 2018 23:29:04 +0000 (00:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Dec 2018 23:29:04 +0000 (00:29 +0100)
commitd4722625ae34641556c1b3ea281ea4cbb0293426
treeefd4d5b91796bb86a89e390c743bf192b63d071d
parentb8a003c16567ccecffce256a2b35c9210db933a4
re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans-openmp.c:614)

PR fortran/88377
* trans-openmp.c (gfc_omp_clause_default_ctor,
gfc_omp_clause_copy_ctor, gfc_omp_clause_assign_op,
gfc_omp_clause_linear_ctor, gfc_omp_clause_dtor): Only consider
GFC_DECL_GET_SCALAR_ALLOCATABLE vars as scalar allocatables if they
have pointer type.

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

From-SVN: r266879
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr88377.f90 [new file with mode: 0644]
This page took 0.063257 seconds and 5 git commands to generate.