3 ms·
The rationale does not mention optimization as a reason for undefined behaviour https://www.lysator.liu.se/c/rat/a.html#1-6 https://www.lysator.liu.se/c/rat/a.h
by fanf2 6y ago
The rationale does not mention optimization as a reason for undefined behaviour https://www.lysator.liu.se/c/rat/a.html#1-6 https://www.lysator.liu.se/c/rat/a.html#1-6
- shultays 6y agoEh, well but it is. Since most (all?) UB could be eliminated if you added more code. I don't see any other reason for stuff like making access to uninitialized memory UB for example.