loading...

re: The uninitialized variable anathema: non-deterministic C++ VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Unfortunately there is also some compilers that initialize these values in DEBUG mode to zero or whatever the default value is and in RELEASE mode ...
 

It may not be intentional that they are zero-initialized in DEBUG mode. They just happen to use freshed memory, and memory reuse is less aggressive.

I compile often with optmizations on, and still get lots of zeros in uninitialized areas.

Code of Conduct Report abuse