29 ms·
> WG21 is striving to reduce the known cases of UB Citation? The last I heard the standard was fully defending compilers that actively seek out undefined behav
by a1369209993 6y ago
> WG21 is striving to reduce the known cases of UB
Citation? The last I heard the standard was fully defending compilers that actively seek out undefined behaviour as a excuse to inject bugs and vulnerabilities into working code under the pretense of optimization. It would be very good news if they were walking that back towards "undefined behaviour is solely for cross-platform compatiblity".
- pjmlp 6y agoJust one example to start from, https://github.com/jbcoe/iso-cpp-breaking-UB https://github.com/jbcoe/iso-cpp-breaking-UB
- a1369209993 6y agoAh, I see; that's talking about changing certain behaviours from undefined to well-defined; I was talking about requiring the compiler to pick sane realizations of behaviours that are not well-defined.