Visible to Intel only — GUID: GUID-0CA4DAE6-BD9B-42C0-A00A-74A7285B571E
Visible to Intel only — GUID: GUID-0CA4DAE6-BD9B-42C0-A00A-74A7285B571E
fp-stack-check, Qfp-stack-check
Tells the compiler to generate extra code after every function call to ensure that the floating-point stack is in the expected state.
Linux: |
-fp-stack-check |
macOS: |
-fp-stack-check |
Windows: |
/Qfp-stack-check |
None
OFF |
There is no checking to ensure that the floating-point (FP) stack is in the expected state. |
This option tells the compiler to generate extra code after every function call to ensure that the floating-point (FP) stack is in the expected state.
By default, there is no checking. So when the FP stack overflows, a NaN value is put into FP calculations and the program's results differ. Unfortunately, the overflow point can be far away from the point of the actual bug. This option places code that causes an access violation exception immediately after an incorrect call occurs, thus making it easier to locate these issues.
Visual Studio: None
Eclipse: Floating Point > Check Floating-point Stack
Xcode: Floating Point > Check Floating-point Stack
None