by ambrop7 · 12y ago · 0 comments
So one could conclude that the compiler has to prove termination of ring_bell() before performing the optimization discussed, which is impossible for just any external function.
Furthermore, when undefined behaviour is invoked anywhere within a program, the whole program is undefined.