Re: [Patch, Fortran] PR55134 - Fix ASSOCIATE handling of arrays

2012-10-31 Thread Paul Richard Thomas
Dear Tobias, > > Looks obvious if you ask me ... ..and to me too. OK for trunk. Thanks Paul

Re: [Patch, Fortran] PR55134 - Fix ASSOCIATE handling of arrays

2012-10-31 Thread Janus Weil
> With "ASSOCIATE (A => array)", one generates internally "A" as AS_DEFERRED > array. However, it is neither a pointer nor allocatable, unless "array" is. > > When passing "A" as actual argument to a non-descriptor dummy, trans-array.c > assumed that the actual argument had no descriptor, which lea

[Patch, Fortran] PR55134 - Fix ASSOCIATE handling of arrays

2012-10-31 Thread Tobias Burnus
With "ASSOCIATE (A => array)", one generates internally "A" as AS_DEFERRED array. However, it is neither a pointer nor allocatable, unless "array" is. When passing "A" as actual argument to a non-descriptor dummy, trans-array.c assumed that the actual argument had no descriptor, which lead to