(j3.2006) 08-267

Jim Xia jimxia
Wed Sep 24 11:26:02 EDT 2008


j3-bounces at j3-fortran.org wrote on 09/23/2008 11:18:51 PM:

> j3-bounces at j3-fortran.org wrote on 09/23/2008 10:48:38 PM:
> 
> > This means we should prohibit
> > 
> >   class(my_type), intent(in) :: x[*]
> >   select type ( x )
> >   type is ( my_extension )
> >     print *, x[1]%extra_stuff
> >   end select
> > 
> > because the dynamic type of X might be different from the type of 
> > X[1].  Or... we should prohibit SOURCE= and MOLD= for coarray 
allocations.
> 
> Hmm..., I don't even understand what this code fragment means: the 
> associate name, x, in the select type construct is revering to a 
> local variable, and it says if it is my_extension, then refers to 
> extra_stuff on image 1?  I think we should prohibit coindexed 
> objects with base-object being associate name.

On another thought, I believe we should say that associate-name does not 
have the CODIMENSION attribute.  I'll submit an J3 paper for this.

Cheers,

Jim Xia

RL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444  Tie-line 313-3444
email: jimxia at ca.ibm.com
D2/YF7/8200 /MKM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20080924/516be08d/attachment.html 



More information about the J3 mailing list