public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60289] New: allocating class(*) pointer as character gives type-spec requires the same character-length parameter
@ 2014-02-20 10:53 antony at cosmologist dot info
  2014-02-20 11:35 ` [Bug fortran/60289] " janus at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: antony at cosmologist dot info @ 2014-02-20 10:53 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-11 16:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 10:53 [Bug fortran/60289] New: allocating class(*) pointer as character gives type-spec requires the same character-length parameter antony at cosmologist dot info
2014-02-20 11:35 ` [Bug fortran/60289] " janus at gcc dot gnu.org
2014-02-20 12:00 ` janus at gcc dot gnu.org
2014-02-27 12:50 ` mvondomaros at gmail dot com
2014-12-09 22:54 ` ondrej.certik at gmail dot com
2014-12-29 17:40 ` vehre at gmx dot de
2015-01-23 11:26 ` vehre at gcc dot gnu.org
2015-02-06 11:23 ` vehre at gcc dot gnu.org
2015-02-11 16:51 ` vehre at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).