Is there any reason that the compiler can not optimize the following 2 statements in the main, I still see in Visual C ++ Has Turned On Fully Customization? Any side effect to reach a variable variable in memory?
int _tmain (int argc, _TCHAR * argv []) {volatile int please optimizeMeOut = 100; (PleaseOptimizeMeOut); Return 0; } This can not be optimized because you have declared the variable Unstable
. Unstable
Eligible objects for loads and stores are a part of the "external visible" effects of the abstract machine.
(By the way, upon reaching a variable in the lot of side effects, it can update the memory memory cache, which also includes TLB, and possibly the page Blame can also be generated and implementing your process. Memory is being hidden by another process like a debugger).
Comments
Post a Comment