[Bug fortran/60289] New: allocating class(*) pointer as character gives type-spec requires the same character-length parameter
antony at cosmologist dot info
gcc-bugzilla@gcc.gnu.org
Thu Feb 20 10:53:00 GMT 2014
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
More information about the Gcc-bugs
mailing list