2014-03-17 Paul Thomas <pault@gcc.gnu.org>
commit5b861484edc6821b78d327c2bdfca3980f32d1d4
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2015 05:20:08 +0000 (17 05:20 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2015 05:20:08 +0000 (17 05:20 +0000)
tree2c81bd7fbe477a4652381330a41551d646354630
parentf978d0e7b976069ebfbfc4516e2ca5288eeb4c44
2014-03-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/59198
* trans-types.c (gfc_get_derived_type): If an abstract derived
type with procedure pointer components has no other type of
component, return the backend_decl. Otherwise build the
components if any of the non-procedure pointer components have
no backend_decl.

2014-03-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/59198
* gfortran.dg/proc_ptr_comp_44.f90 : New test
* gfortran.dg/proc_ptr_comp_45.f90 : New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221474 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_44.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/proc_ptr_comp_45.f90 [new file with mode: 0644]