*ping* [Patch, Fortran] PR35203 - Fix VALUE + OPTIONAL handling for pass-by-value arguments
W Spector
w6ws@earthlink.net
Fri Mar 29 16:03:00 GMT 2013
Tobias,
I am wondering if your implementation is compatible with what IBM did in
their compiler:
http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlf101a.doc%2Fxlfopg%2Finterlang-passdata.htm
In it, the order of arguments passed is:
* All addresses or values (or both) of actual arguments
* "Present" indicators for optional VALUE arguments
* Length arguments for strings
Note that they set each "Present" indicator to zero if the argument is
not present, and 1 if the argument is present.
Walter
More information about the Fortran
mailing list