re PR fortran/28959 (ICE on derived type with host association)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 10 Sep 2006 17:17:57 +0000 (17:17 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 10 Sep 2006 17:17:57 +0000 (17:17 +0000)
commit380bfbbd61795428e53826d379ce1f4bfe1768f0
tree852eefcc3400d2e2027106084cca7ca4f03cd93f
parentc71d6a561e249d1fe07fcbd97e348b0849247d42
re PR fortran/28959 (ICE on derived type with host association)

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

PR fortran/28959
trans-types.c (gfc_get_derived_type): Use the parent namespace of
the procedure if the type's own namespace does not have a parent.

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

PR fortran/28959
gfortran.dg/used_types_10: New test.

From-SVN: r116816
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/used_types_10.f90 [new file with mode: 0644]