public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "antony at cosmologist dot info" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60289] New: allocating class(*) pointer as character gives type-spec requires the same character-length parameter
Date: Thu, 20 Feb 2014 10:53:00 -0000	[thread overview]
Message-ID: <bug-60289-4@http.gcc.gnu.org/bugzilla/> (raw)

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	other threads:[~2014-02-20 10:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 10:53 antony at cosmologist dot info [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-60289-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).