In error messages following the detection of an undefined variable being used, when /checkmate was used to compile the program being run, only the line numbers and routine names are printed out. It would be very helpful if the particular variable responsible were named in the error message.
Here is an example. The buggy line of code:
IF (KA.LE.N-M+1) GA(KA+M-1)=GA(KA+M-1)+0.25D 0*PAR*(+A1*GA3(5)-A2*GA4(4))
Here is the error message that is printed at present when the bug is detected and the program is terminated:
Reference to undefined variable, array element or function result (/UNDEF) at address 5c767f
Within file teql.exe
in TAGU18 in line 5815, at address 22ad5
...more traceback lines...
Contrast this with the message from NAG Fortran for the same bug:
Runtime Error: tssubs.f, line 5815: Reference to undefined variable GA(KA+M-1)
Thanks.