[Bug fortran/77666] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:471
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 07:36:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77666
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:29:49 2017
New Revision: 248613
URL: https://gcc.gnu.org/viewcvs?rev=248613&root=gcc&view=rev
Log:
Backported from mainline
2016-09-27 Jakub Jelinek <jakub@redhat.com>
PR fortran/77666
* trans-openmp.c (gfc_omp_private_outer_ref): Return true even for
references to allocatable arrays.
* gfortran.dg/gomp/pr77666.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77666.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-openmp.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list