[multiple changes]
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 12 Oct 2005 20:41:28 +0000 (20:41 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 12 Oct 2005 20:41:28 +0000 (20:41 +0000)
commitbce71376125366159e33e872d5d34eff3112dd4b
tree3af3f5392e010df02ed042dbc2ee1cef65f159d4
parent8adac33500f774ff06f2900186eb09b42cb5e9c5
[multiple changes]

2005-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24092
* trans-types.c (gfc_get_derived_type): Insert code to obtain backend
declaration for derived types, building if necessary.  Return the
derived type if the fields have been built by this process.  Otherwise,
continue as before but using the already obtained backend_decls for the
derived type components.  Change the gcc_assert to act on the field.

2005-10-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24092
* gfortran.dg/derived_pointer_recursion.f90: New test.

From-SVN: r105331
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_pointer_recursion.f90 [new file with mode: 0755]