Re:Undefined behavior is often a thing for C programmers (2011)
by chrisseaton on Thursday September 03, 2020 @11:59AM
(#24365356)
But how would that be different to UB? If you let the hardware do whatever it wants that's no different to UB doing whatever it wants.
Editing here because it looks like we've hit the max reply depth. This wouldn't be like UB in the same way that code that could generate an out-of-bounds memory accesses is not UB. The critical thing is that the compiler should assume that the hardware error does not occur.