re PR fortran/56385 ([OOP] ICE with allocatable function result in a procedure-pointe...
authorJanus Weil <janus@gcc.gnu.org>
Thu, 21 Feb 2013 12:26:44 +0000 (13:26 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 21 Feb 2013 12:26:44 +0000 (13:26 +0100)
commit84b286d05cbdff85ad3b69c6ef9a0d454157ae3a
treea7a581a12553b9f4167aebe97da1b31ec937378d
parent7df59255e1accc8f95b4d90d1a17c60cd0e6e40e
re PR fortran/56385 ([OOP] ICE with allocatable function result in a procedure-pointer component)

2013-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* trans-array.c (structure_alloc_comps): Handle procedure-pointer
components with allocatable result.

2013-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* gfortran.dg/proc_ptr_comp_37.f90: New.

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