FIX: F1001: Grammar.c Line 91; Nested DO-Loops with Arrays (74220)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
This article was previously published under Q74220 SYMPTOMS
Compiling code using Microsoft FORTRAN versions 4.0, 4.01, 4.1, and
5.0 under MS-DOS, and versions 4.1 and 5.0 under OS/2, when that code
contains a subroutine with nested DO-loops in which arrays are indexed
using a DO variable from an outer DO-loop, may generate the following
error:
fatal error F1001: Internal Compiler Error
(compiler file '../../../P2/grammar.c', line 91)
RESOLUTION
The error can be suppressed by turning off loop optimization, using a
temporary variable in place of the DO variable from the outer DO-loop,
or by upgrading to FORTRAN 5.1.
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN
versions 4.0, 4.01, 4.1, and 5.0 for MS-DOS and versions 4.1 and 5.0
for OS/2. This problem was corrected in Microsoft FORTRAN 5.1.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbfix KB74220 |
---|
|