r275076 - in /branches/gcc-7-branch/gcc: fortra...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Aug 30 11:18:00 GMT 2019
Author: jakub
Date: Fri Aug 30 11:18:41 2019
New Revision: 275076
URL: https://gcc.gnu.org/viewcvs?rev=275076&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/pr88377.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/trans-openmp.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list