I have a solution with two projects which has undergone an overhaul. None of the original code for the project has been deleted, but there would appear to be code which is superfluous. Are there any tools, Intel or third party, which would let me know which code is connected to the PROGRAM within each project?
The Code Coverage tool, when the program is run with a test input, would highlight unused code. Some of it may be legitimate (error cases, etc.) but it would help you identify code not in use. You can read about it at https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-code-coverage-tool
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran