[patch,wip] warn on noncontiguous pointers

Thomas Koenig tkoenig@netcologne.de
Thu Sep 27 17:23:00 GMT 2018


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



More information about the Fortran mailing list