2 ms·
> C compilers do not hunt for possible occurrences of undefined behavior so they can gleefully get rid of lines of code. Yes they do, if they detect UB they co
by Gibbon1 4y ago
> C compilers do not hunt for possible occurrences of undefined behavior so they can gleefully get rid of lines of code.
Yes they do, if they detect UB they consider the result poisoned and delete any code that depends on it.