http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53013
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution| |INVALID --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-16 21:16:48 UTC --- Sorry, you cannot expect consistency from undefined behaviour. It doesn't work that way: http://c-faq.com/ansi/undef.html And if you want to know why: http://www.eskimo.com/~scs/readings/undef.950321.html