Initializes stack local variables to an
unusual value to aid error detection.
The compiler does not initialize local variables.
This option initializes stack local variables to an
unusual value to aid error detection. Normally, these local variables should be
initialized in the application. It also unmasks the floating-point invalid
The option sets any uninitialized local variables that
are allocated on the stack to a value that is typically interpreted as a very
large integer or an invalid address. References to these variables are then
likely to cause run-time errors that can help you detect coding errors.
This option sets option
changes the default optimization level from
(Windows). You can override this effect by explicitly
For more details on using options
, see the article in Intel® Developer Zone titled
Don't optimize when using -ftrapuv for uninitialized variable
, which is located in
Another way to detect uninitialized local scalar
variables is by specifying keyword
Run-Time > Initialize
Stack Variables to an Unusual Value