FIX: F1001: pgo2.c:1.6, line 189; with ISIGN Function (68189)



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 Q68189

SYMPTOMS

The sample code below produces the following error during pass 3
fatal error F1001: Internal Compiler Error
(compiler file '@(#)pgo2.c:1.6', line 189)

RESOLUTION

If M is assigned a value before being used in the ISIGN function, the code compiles successfully.

STATUS

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

MORE INFORMATION

The following sample code can be used to demonstrate the problem. FORTRAN PowerStation produces error F4998: M : variable used but not defined.

Sample code

c      M = 1
      I = ISIGN(1,M)**2
      END
				

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:kbfix KB68189