Re: [Patch, Fortran] Add diagnostic / check for passing coarrays to allocatable dummies

2011-05-29 Thread Steve Kargl
On Sat, May 28, 2011 at 07:11:19PM +0200, Tobias Burnus wrote: > Allocatable coarrays have to be (de)allocated collectively. Thus, it is > doubtful if one passes a coarray as actual argument to an allocatable > dummy argument, which is not a coarray (unless the dummy is INTENT(IN)). > However, a

[Patch, Fortran] Add diagnostic / check for passing coarrays to allocatable dummies

2011-05-28 Thread Tobias Burnus
Allocatable coarrays have to be (de)allocated collectively. Thus, it is doubtful if one passes a coarray as actual argument to an allocatable dummy argument, which is not a coarray (unless the dummy is INTENT(IN)). However, as long as the allocation status is not modified, the code is valid.