I already reported a weird behaviour of the new compiler 2013.
After full reinstallation I can confirm that the debugger is giving wrong variable values,
Is this a debugger regression?
In any case I'lm swithching back to 2011 version... as long as a new 2013 release is not out!
For more complete information about compiler optimizations, see our Optimization Notice.