FIX: F1001: omf_ms.c:1.118; Equivalence with Structure Element (69511)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN compiler for OS/2 5.0
This article was previously published under Q69511 SYMPTOMS
Using Microsoft FORTRAN 5.0 (under MS-DOS) to compile a program
that uses an element of a structure in a READ or WRITE statement
after that structure is used in an EQUIVALENCE statement, can
result in the following error:
fatal error F1001: Internal Compiler Error
(compiler file '@(#)omf_ms.c:1.118', line 1093)
When compiling under OS/2, a protection violation is generated by the
third pass of the compiler.
CAUSE
The errors do not occur if the element of the structure is assigned
to a temporary variable, and then this temporary variable is used
in the READ or WRITE.
RESOLUTION
An application note titled "FORTRAN 5.0 F1.EXE and F1L.EXE Structure
Patch" is available to correct these errors. To obtain this
application note, call Microsoft Product Support Services.
This file has been removed from the Software Library but can be
requested by calling Microsoft Product Support Services.
STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.0.
This problem was corrected in FORTRAN version 5.1.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB69511 |
---|
|