FIX: F1001:ctypes.c:1.12, Line 448; Optimization/Structures

Last reviewed: September 11, 1997
Article ID: Q73567
5.00 5.10 | 5.00 5.10
MS-DOS    | OS/2
kbtool kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FORTRAN for MS-DOS, versions 5.0 and 5.1
  • Microsoft FORTRAN for OS/2, versions 5.0 and 5.1

SYMPTOMS

The sample code below produces the following internal compiler errors under MS-DOS and OS/2:

  • With FORTRAN 5.0

          fatal error F1001: Internal Compiler Error
    
             (compiler file '@(#)ctypes.c:1.11', line 448)
    
    
  • With FORTRAN 5.1

          fatal error F1001: Internal Compiler Error
    
             (compiler file '@(#)ctypes.c:1.12', line 448)
    
    

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.

Sample code

      subroutine test(a1, a2, a3)
      structure /x/
       integer x1
       integer x2
      end structure

      record /x/ a1, a2, a3

C Comment out the following line and the code compiles
      a1 = a3

C Add a line such as the following and the code compiles C write(*,*) a1.x1

C Place a label (e.g. 123) at the beginning of the following line or C change the a3 to a1 and the code compiles

      a2 = a3

      return
      end


Additional reference words: 5.00 5.10 buglist5.00 buglist5.10 fixlist1.00
KBCategory: kbtool kbfixlist kbbuglist kberrmsg
KBSubCategory: FLIss
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.