2015-12-18 Paul Thomas <pault@gcc.gnu.org>
commit3d2337cf840cf30e33844ba5d2d9c32826d82171
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Dec 2015 09:34:13 +0000 (18 09:34 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Dec 2015 09:34:13 +0000 (18 09:34 +0000)
tree1b2e25c60d3d7bb04a7d724be4b7db3f4f541b17
parent3bd8520f0993a527fa71b235f26b6397552e1623
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231807 138bc75d-0d04-0410-961f-82ee72b054a4
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]