From: Thomas Koenig <tkoenig@netcologne.de>
To: "Bader, Reinhold" <Reinhold.Bader@lrz.de>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>
Subject: Re: [patch,wip] warn on noncontiguous pointers
Date: Thu, 27 Sep 2018 17:23:00 -0000 [thread overview]
Message-ID: <f48efd1b-65c9-4077-dd0c-b2d9fe1f6a54@netcologne.de> (raw)
In-Reply-To: <6c7d4e6ddec64bd8a326a95591b2bb47@lrz.de>
Hi Reinhold,
>> If we go down the list, we see that fptr1(4:) is not contiguous; it
>> is not an array (it is a pointer), so (4) also does not apply.
> I don't agree with this conclusion. First, the array and pointer properties
> are not mutually exclusive (they are conveyed by specifying the DIMENSION
> and
> POINTER attribute, independently).
Can you maybe elaborate a bit more?
I see that you can associate a pointer with a target
(6.7.1.4), which of course can be an array. But I have
not found anything in the standard that says that a
pointer to an array is an array.
Regards
Thomas
next prev parent reply other threads:[~2018-09-27 17:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 8:00 Bader, Reinhold
2018-09-27 17:23 ` Thomas Koenig [this message]
2018-09-28 5:12 ` AW: " Bader, Reinhold
2018-09-28 16:59 ` N.M. Maclaren
2018-09-30 18:12 ` Thomas Koenig
2018-10-01 13:36 ` Cesar Philippidis
2018-10-03 21:16 ` Cesar Philippidis
2018-10-05 6:14 ` Thomas Koenig
-- strict thread matches above, loose matches on Subject: below --
2018-09-26 18:51 Cesar Philippidis
2018-09-26 20:49 ` Thomas Koenig
2018-09-26 20:55 ` Cesar Philippidis
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=f48efd1b-65c9-4077-dd0c-b2d9fe1f6a54@netcologne.de \
--to=tkoenig@netcologne.de \
--cc=Reinhold.Bader@lrz.de \
--cc=fortran@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).