Deallocation of arrays passed as c_ptr

I read, and missed the text (I was not looking at the right place)!

1 Like

I thought the discussion was on the Fortran side only :thinking:

My misunderstanding in that case. Within Fortran I would avoid such pointer casting tricks anyways.

That’s normative text, not a numbered constraint. Thus, a processor is not required to diagnose it. In fact, no runtime errors are really “required” to be diagnosed. That said, an implementation would be allowed to, but that would complicate what is probably a very simple implementation.