public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67744] polymorphic associating entity is refused TBP invocation Date: Mon, 12 Oct 2015 19:15:00 -0000 [thread overview] Message-ID: <bug-67744-4-tG8uOm7HY0@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-67744-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67744 --- Comment #3 from Bader at lrz dot de <Bader at lrz dot de> --- The question on validity is not unjustified. The 2008 standard appears to be not fully clear on this, but the current 2015 draft has the following amended text in para 2 of section 8.1.3.3: --- The associating entity itself is a variable, but if the selector is not a definable variable, the associating entity is not definable and shall not be defined or become undefined. If the selector is not permitted to appear in a variable definition context (16.6.7), the associate name shall not appear in a variable definition context. --- The first sentence, I think, implies that my code example is valid. Cheers Reinhold
next prev parent reply other threads:[~2015-10-12 19:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-28 12:23 [Bug fortran/67744] New: " Bader at lrz dot de 2015-10-10 8:23 ` [Bug fortran/67744] " dominiq at lps dot ens.fr 2015-10-12 19:14 ` Bader at lrz dot de 2015-10-12 19:15 ` Bader at lrz dot de [this message] 2015-10-13 13:11 ` dominiq at lps dot ens.fr 2021-02-13 11:53 ` [Bug fortran/67744] [OOP] " dominiq at lps dot ens.fr
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-67744-4-tG8uOm7HY0@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: linkBe 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).