This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/56463] infinite loop when having integer overflow in a simple accumulator


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]