Fortran syntax checker
There is an unsupported utility called "ftnchek", which is similar to "lint" for C code, available to check Fortran programs for syntax errors, non-standard usages and semantic errors. It may be of use in debugging Fortran programs.
To find more information about it, type:
add fortran man ftnchek