[J3] CFI descriptors for sequence associated BIND(C) assumed-length dummy arguments

Steve Lionel steve at stevelionel.com
Thu Mar 7 18:45:36 UTC 2024


On 3/7/2024 4:25 AM, Jean Perier via J3 wrote:
> Should the cfi descriptors prepared when calling “c_defined_procedure” 
> both be descriptors for an entity of rank and shape 100 (dummy 
> argument shape), or should it be a descriptor for a rank-2 entity with 
> shape (10, 20) in the first call, and a descriptor for a scalar in the 
> second call (actual argument shape)?

I think this is related to the topic of Interp F23/002, which was 
discussed at length last year but withdrawn for rework, as we could not 
come to agreement. See j3-fortran.org/doc/year/23/23-116.txt 
<https://j3-fortran.org/doc/year/23/23-116.txt> I can see validity in 
both sides of the issue, which makes it difficult. Unfortunately, 
Malcolm wasn't able to attend the J3 meeting we held last week so no 
further progress was made.

Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20240307/5c5e75c5/attachment.htm>


More information about the J3 mailing list