On 07/19/2011 05:24 PM, Mikael Morin wrote:
On Monday 18 July 2011 21:37:24 Tobias Burnus wrote:
Now about your request:
I would be happy if someone could carefully read the function in expr.c
- and confirm that the second test case ("dg-error" line) is indeed
invalid. I think it is invalid beca
On Monday 18 July 2011 21:37:24 Tobias Burnus wrote:
> As the coarray status is nontrivial to check, I have created a function
> for that - and I use it now for the interface checking. There are more
> cases, where the wrong check is used, leading to accepts-invalid and
> rejects-valid issues; howe
Tobias Burnus wrote:
I would be happy if someone could carefully read the function in
expr.c - and confirm that the second test case ("dg-error" line) is
indeed invalid. I think it is invalid because one has an array element
of a coarray, which is a coarray but which is not simply contiguous.
For the Fortran standard, quite a lot of objects are coarrays.
Essentially every object which as an attr.codimension - including array
sections, elements or components of it - unless the components are
allocatable or pointer. Note that this excludes coindexed objects. See
F2008, "2.4.7 Coarray"