2 ms·
Compilers don't detect UB (at least as optimizations are concerned), they assume no UB. If you want to detect UB, at least dynamically, compile with sanitizers
by gpderetta 6y ago
Compilers don't detect UB (at least as optimizations are concerned), they assume no UB.
If you want to detect UB, at least dynamically, compile with sanitizers.