FIX: F1001: ../../../P2/grammar.c, line 91; Optimization (68187)
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 Q68187 SYMPTOMS
The code causes FORTRAN, version 5.0 to produce
fatal error F1001: Internal Compiler Error
(compiler file '../../../P2/grammar.c', line 91)
With FORTRAN 5.1, the error produced during pass 2 is:
run-time Error R6000
- Stack Overflow
RESOLUTION
The examples that we have seen are relatively large modules of code. Most
of the examples have large COMMON blocks, multiple CALL statements, or DO
loops. Simplifying the modules can eliminate the error. Disabling
optimization with /Od or using /4Yb can also eliminate the error.
STATUS
Microsoft has confirmed this to be a bug in the products listed above.
This problem was corrected in FORTRAN PowerStation for MS-DOS, version 1.0
and FORTRAN PowerStation for Windows NT, version 1.0.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbfix KB68187 |
---|
|