]> gcc.gnu.org Git - gcc.git/commit
backport: re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans...
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2019 11:18:41 +0000 (13:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2019 11:18:41 +0000 (13:18 +0200)
commit42aed577cf5dd5c753cee477bb542426d59eeff8
tree533c62ba2e54bee806bca843d7d457e43fdc0eef
parentcc1f52a2244f69819936b6b4dc77cd6cc67b5ea8
backport: re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans-openmp.c:614)

Backported from mainline
2018-12-07  Jakub Jelinek  <jakub@redhat.com>

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: r275076
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.072229 seconds and 5 git commands to generate.