This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r266879 - in /trunk/gcc: fortran/ChangeLog fort...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Dec 2018 23:29:04 -0000
- Subject: r266879 - in /trunk/gcc: fortran/ChangeLog fort...
Author: jakub
Date: Thu Dec 6 23:29:04 2018
New Revision: 266879
URL: https://gcc.gnu.org/viewcvs?rev=266879&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/gomp/pr88377.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-openmp.c
trunk/gcc/testsuite/ChangeLog