Hello,The following code prints "Error! 00 01 02 02" if we compile it with -O2 flag in Visual Studio 2010 SP1 C/C++ compiler for x86 and/or x64 platform. If we compile it without this flag we have not a message "Error!" and we have "00 01 02 03". I think this is a bug in the optimizations block of the compiler.Thank you,Constanthine
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...