I compiled a code with quite a few flags, among them the -warn all and -check all flags. Also with -prof-gen (to generate code coverage information) -g, -traceback, and a few others. At run time I see a lot of the following messages:
forrtl: warning (402): fort: (1): In call to I/O Read routine, an array temporary was created for argument #2
forrtl: warning (402): fort: (1): In call to I/O Write routine, an array temporary was created for argument #3
Do you think these warnings are generated because of the -warn and -check flags?
Is there a way to get line number information in the source file? It seems 402 is a warning number not a source line.
What is meant by argument #n? If I have a read statement: read(*,*) a, b, c is argument, say, #2 b? Is there a reason why it never shows argument #1 in the warnings?