Re:Undefined behavior can result in time travel
by mihai_ionic on Friday June 27, 2014 @04:05PM
(#7956044)
According to the C++11 standard, the compiler may assume that any loop terminates, so unless you mark ring_bell as [[noreturn]], the code will be assumed reachable.
Furthermore, when undefined behaviour is invoked anywhere within a program, the whole program is undefined.
Furthermore, when undefined behaviour is invoked anywhere within a program, the whole program is undefined.