http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51976
Bug #: 51976 Summary: [F2003] Support deferred-length character components of derived types (allocatable string length) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: bur...@gcc.gnu.org Blocks: 45170 See also PR 45170 comment 9 - and the examples in PR fortran/51550, PR fortran/47545, PR fortran/49050 and PR fortran/51075. Currently, using type t character(len=:), allocatable :: str_comp end type t is not supported and is rejected by a not-yet-supported error. TODO: There needs to be a hidden (integer) component, which stores the string length.