This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/51394] New: Rejects legal code involving an allocatable string


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]