http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51394
Bug #: 51394 Summary: Rejects legal code involving an allocatable string Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: i.thomp...@lboro.ac.uk Created attachment 25980 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25980 Terminal i/o !This code generates an internal compiler error. module tokens implicit none type :: token character (:) , allocatable :: string end type contains subroutine write_token( tok ) implicit none type (token) , intent (in) :: tok end subroutine end module