BUG: Large BLOCK DATA and /Od Causes F1038 in Pass Three (86747)
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 Q86747 SYMPTOMS
Extremely large BLOCK DATA subprograms or code that contains a very large
number of DATA statements may cause the compiler to generate the following
error:
fatal error F1038: unexpected end of file in Pass 3
This error has only been observed when the /Od compiler option was used.
CAUSE
The /Od option causes the compiler to use F3S.EXE for the third pass of the
compile. This small memory model version of the third pass has less
capacity than the standard third pass, F3.EXE. The extremely large number
of DATA statements exceeds the capacity of this small model component.
RESOLUTION
Use the /B3 option to force the compiler to use F3.EXE rather than the
small model F3S.EXE or eliminate the /Od option. Here is an example compile
command line:
fl /Od /B3 F3.EXE test.for
STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.1.
This is not an issue in FORTRAN PowerStation.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | KB86747 |
---|
|