https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88377

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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  <ja...@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

Reply via email to