The information in this article applies to:
SYMPTOMSThe compiler might generate incorrect code when building with /Og (Global Optimizations) and /Oa (Assume No Aliasing) or /Og and /Ow (Assume Cross-function Aliasing). RESOLUTIONTurn off /Oa and /Ow to work around the bug. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: MORE INFORMATION
Please refer to Help for more information about the compiler
options /Og, /Oa, and /Ow.
Sample Code
The program output should be: 3.0.
The program output is: 2.000000.
Keywords : kbservicepack kbCompiler kbVC600 kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: July 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |