http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60289

            Bug ID: 60289
           Summary: allocating class(*) pointer as character gives
                    type-spec requires the same character-length parameter
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antony at cosmologist dot info

class(*), pointer :: P
    allocate(character(5)::P)

gives error

Error: Allocating p at (1) with type-spec requires the same character-length
parameter as in the declaration

Reply via email to