[Bug fortran/88377] ICE in gfc_omp_clause_copy_ctor, at fortran/trans-openmp.c:614
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 6 23:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88377
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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
More information about the Gcc-bugs
mailing list