The following rules apply to defined I/O data transfers:
Resolving Defined I/O Procedure References from Intel® Fortran Compiler 17.0 Developer Guide and Reference
A generic interface for defined I/O of a derived-type object is one that has both of the following:
A defined I/O procedure can invoke itself indirectly.
For more complete information about compiler optimizations, see our Optimization Notice.