Provato su Ubuntu 9.10 AMD64 con GCC 4.3.3 e non ho nessun problema.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum