BUG: List File Missing Continuation Lines on END Statement (75526)



The information in this article applies to:

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

This article was previously published under Q75526

SYMPTOMS

A list file generated by does not contain the complete END statement if it is split onto continuation lines. The list file may instead contain only what is on the first source line of the END statement. The program still executes correctly.

RESOLUTION

A mixed source/assembly listing can be generated by using the /Fc option on compile. The resulting .COD listing contains the END statement in its entirety.

STATUS

Microsoft has confirmed this to be a problem in the products listed above.

This is not an issue in FORTRAN PowerStation, since /Fs is not supported.

MORE INFORMATION

The following code reproduces the problem when compiled with /Fs:

Sample code

C Compile options needed: /Fs

       print*,'begin'
       e
      +nd
				

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:KB75526