the problem is that the compiler assumes undefined behaviour can never happen <i></i>ALL<i></i> the time.<p>Signed integer overflow is the most common one, since it means you can hoist 32bit ints into 64bit ints so they fit in one register or similar and save hitting the stack.