BUG: F1001, omf.c, line 185, $LARGE and Array Dimensions (77323)



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 Q77323

SYMPTOMS

Compiling a program that contains the $LARGE metacommand in addition to several array declarations causes the compile to generate the following error message:
F1001: Internal Compiler Error
(compiler file '@(#)omf.c"1.60', line185)
Contact Microsoft Technical Support

RESOLUTION

Removing the $LARGE metacommand and compiling with the /AH option instead will remove this error message.

STATUS

Microsoft has confirmed this to be a problem in the products listed above.

This is not an issue in FORTRAN PowerStation, since LARGE is not supported.

MORE INFORMATION

The following code can be used to reproduce the problem:

Sample code

$large

      dimension x(1000), Y(1000),SIG(1000),A(20),LISTA(20),COVAR(10,10)
      dimension ALPHA(10,10),XX(1000),YY(1000),z(15000),dyda(7),yf(1000)
      dimension aold(7),xy(201),xcoeff(3)

      CHARACTER*18 NAME(10)

      END

      subroutine Fitter()
      write(iscreen,'(a)') lab
      end
				

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:kberrmsg kbLangFortran KB77323