(j3.2006) a question on interp F08/0049

Jim Xia jimxia
Thu Nov 11 13:05:20 EST 2010


For this interp answer, it seems the following code is standard conforming

module ex
   real :: x[*]
   integer :: sub(1)
...
   contains
   elemental function g (y)
       integer, intent(in) :: y
       character(image_index(x, sub)) g
...
   end function
end module


If this is allowed, then we will end up with this function call g() on 
each image results in different return result characteristic.  Is this 
something we intended to allow?


The same thing can be said to both examples given in the interp paper.

Just need to clarification if this has been discussed during the J3 
meeting?

Cheers,

Jim Xia

XL 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

http://www.ibm.com/software/awdtools/fortran/xlfortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://j3-fortran.org/pipermail/j3/attachments/20101111/76bb4777/attachment.htm>



More information about the J3 mailing list