The information in this article applies to:
SYMPTOMSIncorrect code may be generated with the /Og and /G6 compiler optimizations. CAUSEThe compiler incorrectly moves an .inc file, .add file, .sub file, or .lea file across an instruction that references memory. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why MORE INFORMATIONThe following code illustrates one way the compiler can handle moving an instruction:
The compiler needs to update the displacement to swap the instructions. For example:
Additional query words:
Keywords : kbservicepack kbVC600 kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: May 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |