https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102641
--- Comment #2 from sandra at gcc dot gnu.org --- I was thinking that for assumed-rank the front end should probably just emit a call to a library support function in the callee, instead of whatever it is doing now to try to deallocate/initialize the array. That would also fix the bogus warning, since passing an assumed-rank argument to another function that expects one is permitted.