(j3.2006) Finalization ordering question

Jim Xia jimxia
Wed Oct 24 14:29:41 EDT 2007


> 
> That might be a logical thing to do, but I don't read the words in the 
> standard as supporting this.  Step 3 says "the parent component is 
> finalized".  The rules for finalizing an entity are spelled out, and 
> they start with Step 1.  If there is an array final routine specified 
> for the parent type, it seems that Step 1 requires that be used. 
> Chopping an array into elements only occurs during Step 2, and in this 
> case you never make it to Step 2. That may not be what was intended, but 

> the way I read it that's what it says.  Note that this is a non-trivial 
> distinction since the array and scalar final routines might do different 

> things.
> 
> Cheers,
> Bill


Sorry Bill I disagree.  Can you point out to me where in F2003 standard 
there is a reference to a parent component as an array?

Cheers,

Jim Xia

XL Fortran Compiler Testing
IBM Toronto Lab at 8200 Warden Ave.
Phone (905) 413-3444  Tie-line 969-3444
D2/NAH/8200 /MKM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20071024/3be5da80/attachment.html 



More information about the J3 mailing list