News for hackers. Stuff that matters.
Re:Undefined Behavior in 2017 by lomnakkus on Wednesday July 05, 2017 @04:06AM (#14700660)
> Surely the compiler must know when it comes across a piece of source code whose semantic is undefined.

Absolutely not. Many instances of UB depend on runtime values. (E.g. overflows, out-of-bounds shifts, etc. etc.)

There are no comments on this comment yet.