------- Comment #1 from janus at gcc dot gnu dot org 2010-05-08 20:13 ------- Side note: Invalid code like
function fun() class(t1) :: fun end function is not rejected, although the polymorphic 'fun' is neither a pointer, allocatable nor a dummy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44044