gcc does in some cases but not all (see http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Optimize-Options... but not all).
Still, the current standard says it's not legal so it seems like a bad idea to rely on undefined behaviour...
Still, the current standard says it's not legal so it seems like a bad idea to rely on undefined behaviour...
No comments yet.