FIX: Logical IF in GOTO Loop Produces Unexpected Results (49731)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q49731 SYMPTOMS
In an application compiled with Microsoft FORTRAN, a logical IF statement
in a GOTO loop produces incorrect results.
CAUSE
The compiler incorrectly optimized the IF statement in the GOTO loop.
RESOLUTION
To address this problem, perform one of the following two steps:
STATUS
Microsoft has confirmed this to be a problem in FORTRAN versions 4.0, 4.1,
5.0, and 5.1. This problem was corrected in FORTRAN PowerStation, version
1.0.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbfix KB49731 kbAudDeveloper |
---|
|