Updated, see below!
I have heard and read that C++0x allows an compiler to print \"Hello\" for the following snippet
#include
I think it's worth pointing out that loops which would be infinite except for the fact that they interact with other threads via non-volatile, non-synchronised variables can now yield incorrect behaviour with a new compiler.
I other words, make your globals volatile -- as well as arguments passed into such a loop via pointer/reference.