Re: [Patch, Fortran] Add is_coarray() function, use it

2011-07-19 Thread Tobias Burnus
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

Re: [Patch, Fortran] Add is_coarray() function, use it

2011-07-19 Thread Mikael Morin
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

Re: [Patch, Fortran] Add is_coarray() function, use it

2011-07-18 Thread Tobias Burnus
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.