(j3.2006) finalizing undefined entities

Bill Long longb
Tue Mar 18 14:06:59 EDT 2008



Aleksandar Donev wrote:
> On Monday 17 March 2008 10:37, Bill Long wrote:
>   
>> That seems to be required for example if an entity of
>> finalizable type first appears as the variable in an intrinsic assignment
>> statement.
>>     
> But that entity should have been declared somewhere and default initialization 
> should have been performed on it. So the pointer components could have been 
> explicitly initialized to NULL().
> Is there is a case where the standard mandates finalization of an object of 
> derived type that has not undergone default initialization?
>   

Finalization occurs for objects of a type that have a final subroutine 
specified.  Period.  I don't see what default initialization has to do 
with it.

Cheers,
Bill



> Aleks
>
>   

-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the J3 mailing list