http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55763
--- Comment #13 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-01-03 13:03:24 UTC --- (In reply to comment #12) > Proposed patch: Which fails with gfc_typename(): Undefined type for contains subroutine foo type t end type t class(*), allocatable :: x integer, target :: y x => y end subroutine foo end