https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78854
--- Comment #4 from janus at gcc dot gnu.org --- Another starting point could be the fact that DTIO procedures appear to work well on internal units, as long as no namelist output is involved. This case seems to be handled by "formatted_transfer_scalar_write"?