BUG: Profiler Line Timings on Wrong Line with /4Yb (77570)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q77570

SYMPTOMS

Line Timings may be associated with the incorrect line numbers if the compilation options include the /4Yb option.

RESOLUTION

Removing the /4Yb option from the compile line will remove this error. Option /4Yb should not be used during compilation if you will be profiling.

STATUS

Microsoft has confirmed this to be a problem in FORTRAN version 5.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The following code when compiled with /4Yb, will generate line timings associated with incorrect line numbers under the profiler:

Sample code

      FUNCTION SSS(S)
c
      sss=sqrt(s)
c
      return
      end
				

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:KB77570