The information in this article applies to:
SYMPTOMSCode compiled with both /G5 and the /Og options generate incorrect floating point results. RESOLUTIONTo work around the problem, do not use both the /G5 and the /Og compiler switches together; use either /G5 or /Og. Alternatively, you can disable the global optimization (provided by /Og) for the area of code generated incorrectly with the #pragma optimize. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
The /G5 compiler switch tells the compiler to place the assembly
instructions generated into an order that will be more beneficial to the
pipelined architecture of the Pentium processor. The /Og switch enables
global optimizations.
Sample Code
Additional query words: 8.00 9.00 1.00 2.00 2.10 buglist1.00 buglist2.00
Keywords : |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |