In that case the problem is very specific to nvfortran; which is mainly F2003 compliant with a very limited subset of F2008 features. Nvfortran undergoes very basic maintainance as it will be replaced by flang.
You can also combine GNU compilers with offloading capabilities and/or linking with nvidia stack, there might be some useful information and links in this thread GPU offloading in Fortran - #16 by hkvzjal