This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51394] New: Rejects legal code involving an allocatable string
- From: "i.thompson at lboro dot ac.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 13:09:34 +0000
- Subject: [Bug fortran/51394] New: Rejects legal code involving an allocatable string
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: i.thompson@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