On 5/18/25 2:10 PM, Harald Anlauf wrote:
Hi Jerry,

I found 2 corner invalid cases which are silently accepted with
your patch when iso_c_binding is used indirectly:

   print *, c_associated(c_loc(val), C_NULL_FUNPTR)
   print *, c_associated(C_NULL_FUNPTR, c_loc(val))

These should get rejected, too.  Can you see how to catch these, too?

Thanks,
Harald

Yes, will do! I try to think of cases to run through on. This helps.

Thanks,

Jerry
--- snip ---

Reply via email to