On 10/24/25 12:52 PM, Harald Anlauf wrote:
Dear All,

this patch does two things: it extends the inline generated code for
IS_CONTIGUOUS to check the dtype of a passed pointer for span equal
to elem_len.  It also fixes the assignment of pointers to ensure
that the dtype is the same whether bounds-remapping is done or not.

While developing the testcase, I discovered cases where there is an
implicit dummy pointer,intent(in) assignment to a non-contiguous
target and which don't work.  One of these cases is tracked in PR122397.

Regtested on x86_64-pc-linux-gnu.  OK for mainline and 15-branch?

Thanks,
Harald


This looks OK Harald. I reviewed and tested yesterday and got interupted by other things.

Regards,

Jerry

Reply via email to