Consider the following scenario:
In this scenario, incorrect calculation results might be returned.
- You develop a project in Microsoft Visual Studio 2010 Service Pack 1 (SP1). The project has inline functions.
- You set the Inline Function Expansion compiler option to /Ob2 and enable an optimization option. For example, you enable the /O1, /O2, or /Ox optimization option.
- You build the project in the Release mode.
- You run the generated application.
In this scenario, incorrect calculation results might be returned.