public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/92006] storage_size() returns incorrect value on unlimited polymorphic variable (CLASS(*))  when passed a CHARACTER variable
Date: Thu, 23 Jul 2020 21:11:28 +0000	[thread overview]
Message-ID: <bug-92006-4-Ip4cEkwagY@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-92006-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92006

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
My draft of the standard says: the argument A

shall be a data object of any type. If it is polymorphic it shall not be an
undefined pointer. If it is unlimited polymorphic or has any deferred type
parameters, it shall not be an unallocated allocatable variable or a
disassociated or undefined pointer.

AFAIU it does not say that unlimited polymorphic should be accessed through a
select type, but I cannot see what would be the value otherwise.

  parent reply	other threads:[~2020-07-23 21:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-92006-4@http.gcc.gnu.org/bugzilla/>
2020-05-07 11:56 ` jakub at gcc dot gnu.org
2020-07-23  6:52 ` rguenth at gcc dot gnu.org
2020-07-23 19:31 ` dominiq at lps dot ens.fr
2020-07-23 21:11 ` dominiq at lps dot ens.fr [this message]
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2022-06-28 10:38 ` jakub at gcc dot gnu.org
2023-07-07  8:38 ` rguenth 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-92006-4-Ip4cEkwagY@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).