Nvfortran: DTIO tests fail to compile

For the two attached test programs, I receive compilation failures as follows:

NVFORTRAN-S-0155-for defined WRITE(FORMATTED), invalid argument list in subroutine write_fmt_t (dtio_targetting_01_pos.f90: 50)
0 inform, 0 warnings, 1 severes, 0 fatal for internal
NVFORTRAN-S-0155-for defined WRITE(FORMATTED), invalid argument list in subroutine write_fmt_t (dtio_targetting_01_pos.f90: 51)

and

NVFORTRAN-S-0034-Syntax error at or near identifier formatted (dtio_targetting_02_pos.f90: 5)
0 inform, 0 warnings, 1 severes, 0 fatal for mod_t

I believe both are spurious. The latter appears to be a failure to recognize the generic spec in an accessibility statement.
testcases.tar.gz (944 Bytes)

Thanks for the report. I filed these issue as TPR #35365.

-Mat