Aleksandar Donev wrote:
> [log in to unmask] wrote:
>
>> I find it easier to quote MR&C, Section 12.4:
>
> But the quote you provided does not answer the question posed.
Just a note that the quote from MR&C is an elaboration of standard text
at [116:14]: "When a variable of derived type is deallocated, any
allocated allocatable subobject is deallocated." However, as Aleks
points out below, the "variable of derived type" is itself not
allocatable in this case, so [116:14] does not directly apply.
Cheers,
Bill
>
>
>> "When a variable of derived type is deallocateduch deallocations of
>
> > a variable is associated with an {intent(out)} dummy argument.
>
> The variable itself is not deallocated here since it is simply a local
> named variable (on the stack). If no-one answers this here I will take
> it up with J3 at the next meeting.
>
> Best,
> Aleksandar
--
Bill Long [log in to unmask]
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
|