http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56463
--- Comment #2 from Cristóbal Camarero <nakacristo at hotmail dot com> 2013-02-26 17:39:31 UTC --- I think that at least -Wall -Wextra -Wstrict-overflow=5 should give a giving notice of the extremely odd behaviour. However, I am not following your reasoning to invalidate the bug. Are you implying that any program with an integer overflow can be legally substituted by a "Hello World"? It would have almost the same sense that the displayed behaviour.