Microsoft KB Archive/68196

FIX: F1001:regMD.c:1.8, line 657; $LARGE & Assumed-Size PSS ID Number: Q68196 Article last modified on 07-19-1994

5.00 | 5.00

MS-DOS | OS/2

= SYMPTOMS =

The program below causes the compiler to generate:

F1001: Internal Compiler Error (compiler file ‘@(#)regMD.c:1.9’, line 657)

during pass 2 of the FORTRAN version 5.00 compiler.

= RESOLUTION =

If the dimension of ‘a’ is reduced to less than 5, the HUGE memory model is not used, or ‘j’ is not INTEGER*1, then the error does not occur.

= STATUS =

Microsoft has confirmed this to be a bug in the products listed above. This problem was corrected in FORTRAN, version 5.1.

= MORE INFORMATION =

The following sample code can be used to demonstrate the problem.

Sample Code
$LARGE

SUBROUTINE x (a)

REAL a(5,*) INTEGER*1 j

DO 10 j = 1, 3 a(1,j) = 0.0 10 CONTINUE

END Additional reference words: 5.00

=
================================================================

Copyright Microsoft Corporation 1994.