http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46301
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-04 18:00:07 UTC --- Created attachment 22285 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22285 Draft patch The following fails - but for the wrong reason (regarded as "len=*"). Error: Character length of component 's' needs to be a constant specification expression at (1) subroutine test type t character(len=:), allocatable :: S end type t type(t) :: x x%S='abcdef' end subroutine