The following code generates different results under debug mode and release mode (using Visual Studio 2008):
int _tmain(int argc, _TCHAR* argv[]) { for( int
Assuming your reported facts are correct, this would be a compiler bug. Check the latest version of the compiler. If the bug is still present, submit a bug report.