re PR fortran/68196 (ICE on function result with procedure pointer component)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 18 Dec 2015 09:34:13 +0000 (09:34 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 18 Dec 2015 09:34:13 +0000 (09:34 +0000)
commit332477628507525e3f252183a864d74bddb5c77f
tree1b2e25c60d3d7bb04a7d724be4b7db3f4f541b17
parent6638efce562e68d702d859c124ed36c7a8c55556
re PR fortran/68196 (ICE on function result with procedure pointer component)

2015-12-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68196
*expr.c (gfc_has_default_initializer): Prevent infinite recursion
through this function for procedure pointer components.
* trans-array.c (structure_alloc_comps): Ditto twice.

2015-12-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68196
* gfortran.dg/proc_ptr_48.f90: New test.

From-SVN: r231807
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_48.f90 [new file with mode: 0644]