(j3.2006) COPY mode of argument association

Lionel, Steve steve.lionel
Thu Dec 17 16:07:11 EST 2015


"The solution was to pass the location of the child vertex back as a
function argument.  I hope processors don't calculate the address of the
function result and pass that as a hidden argument for the function to use
to store its result value."

Why, yes, they do. On the implementations I am familiar with, this happens
if the result is of a type other than what the ABI says should be returned
in registers. For example, returning any array or CHARACTER value would be
done with a hidden argument containing an address of temporary storage
computed by the caller.

I didn't fully understand the problem statement, but it seemed to me that
pointers might be an appropriate solution.

Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6616 bytes
Desc: not available
Url : http://mailman.j3-fortran.org/pipermail/j3/attachments/20151217/cbb1539c/attachment.bin 



More information about the J3 mailing list