(j3.2006) (SC22WG5.3752) Ballot on the technical content of the TR

Jim Xia jimxia
Sun Dec 7 21:46:44 EST 2008

Vote from Jim Xia on "Further Interoperability of Fortran with C" TR

Comments on No vote

1.) OPTIONAL argument
The current design does not support OPTIONAL argument with VALUE 
attribute. This
is a fundamental technical flaw in the design.  The Fortran 2003 standard 
VALUE to be specified with OPTIONAL argument, while in the TR this 
becomes illegal.  This obviously is an adverse change compared to F03.
It should also be noted that one solution that supports this particular 
was proposed, but it was rejected due to the implementation convenience of 
a few

2.) Fortran descriptors
Although Fortran descriptors are used when passing assumed-shape arrays, 
arrays and allocatable arrays by many vendors, they are however not 
universally used
by all vendors.  Based on a survey earlier this year (by Craig Rasmussen 
at J3 m183), 
some vendors haven't adopted descriptors for assumed shape arrays, pointer 
or allocatable arrays.  The requirement in the C-interop TR may pose 
difficulties for those vendors.  Furthermore allowing updates on Fortran 
descriptors from
C programs will likely cause safety issues and also be problematic in 
check by some vendors.  This becomes a sure way to introduce bugs 
difficult to diagnose.

3.) assumed-type and assumed-rank
These two features were not in the original scope of TR 29113.  They were 
(08-271r1) to be added to this TR in an attempt to respond to the 
requirement from
MPI community for something similar to IGNORE_TKR directives already 
implemented by
a number of vendors.  These features are of more urgent and important 
nature than the
OPTIONAL or the descriptor features in TR 29113.  Therefore it is more 
desirable to
devote effort and study to these features in a separate TR.


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

John Reid <John.Reid at stfc.ac.uk>
WG5 <sc22wg5 at open-std.org>
11/27/2008 02:35 PM
(j3.2006) (SC22WG5.3688) Ballot on the technical content of the TR

                                         ISO/IEC JTC1/SC22/WG5 N1763

           WG5 letter ballot 5 on technical content of N1761

                      John Reid, 26 November 2008

This is the letter ballot that WG5 agreed to hold in view of there being
insufficient time in Tokyo to discuss the technical content of the TR on
"Further Interoperability of Fortran with C".

Please answer the following question "Do you approve of the technical
content of N1761?" in one or more of these ways (it is acceptable to 
both 2 and 3).

1) Yes.
2) Yes, with comments.
3) Yes, except with OPTIONAL dummy arguments in interoperable interfaces
    removed, with comments.
4) No, with comments (comments required).
5) Abstain.

Please send your vote to sc22wg5 at open-std.org to arrive by 9 a.m. (UK 
on January 5th 2009 (my first working day of the New Year).

Note that the contents of N1763 are identical with those of 08-305 except
that line 122 of 08-305 is changed from

     "the argument of the C_LOC intrinsic function in the ISO_C_BINDING"
     "the argument of the C_LOC function in the ISO_C_BINDING intrinsic"
[attachment "N1761.txt" deleted by Jim Xia/Toronto/IBM] 
J3 mailing list
J3 at j3-fortran.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20081207/090ec42c/attachment.html 

More information about the J3 mailing list