FIX: F1001, regMD.c, line 2317, Complicated Expression

ID: Q77445


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, versions 5.0, 5.1
  • Microsoft FORTRAN for OS/2, versions 5.0, 5.1


SYMPTOMS

If the program being compiled contains a complicated arithmetic expression, the compiler may fail during pass two with the error message

F1001: Internal Compiler Error

(compiler file '@(#)regMD.c:1.8', line 2317)
Contact Microsoft Technical Support


RESOLUTION

Compiling the program with the /Od option to suppress optimization may work around the error.


STATUS

Microsoft has confirmed this to be a problem in the products listed above. This problem was corrected in FORTRAN PowerStation.


MORE INFORMATION

The following code reproduces the internal compiler error:

Sample code


      GAM1=EXPDIF*Z/A* Z**(A-1.)
     1  /(1.-A    *Z/( A     *(A+ 1.+  Z/((A+ 2.)
     2  *(1.-(A+1.)*Z/((A+ 2.)*(A+ 3.+2.*Z/((A+ 4.)
     3  *(1.-(A+2.)*Z/((A+ 4.)*(A+ 5.+3.*Z/((A+ 6.)
     4  *(1.-(A+3.)*Z/((A+ 6.)*(A+ 7.+4.*Z/((A+ 8.)
     5  *(1.-(A+4.)) )))) )))) )))) ))))

      END 

Additional query words: 5.00 5.10 buglist5.00 buglist5.10 fixlist1.00

Keywords :
Version : :5.0,5.1
Platform :
Issue type :


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.