The information in this article applies to:
SYMPTOMSIf a FORTRAN program attempts to pass an INTEGER*1 item to a subprogram by value, incorrect results may be generated. CAUSEThe call to the subprogram pushes two bytes on the stack for the one-byte variable, causing the stack to be misaligned and the variable to be incorrectly accessed in the called routine. RESOLUTIONThe only reliable way to avoid this problem is to pass INTEGER*1 variables by reference. STATUSMicrosoft has confirmed this to be a bug in the products listed above. This problem was corrected in FORTRAN Powerstation, version 1.0. MORE INFORMATIONThe following code can be used to reproduce the problem: Sample code
Additional query words: 5.00 5.10 buglist5.10 fixlist1.00
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |