5 ms·
You can not expect any consistency with UB.
by wilun 8y ago
You can not expect any consistency with UB.
- pritambaral 8y agoYes, but a more-consistent-with-UB compiler is better to use than a less-consistent-with-UB.
- lyricaljoke 8y agoI don't disagree, and I'm not sure what about my comment would suggest that I expect consistency there. What I was arguing was that any code relying on UB is dangerous / broken, so it's a good idea to surface any underlying code issues at all optimization levels by standardizing how it's handled.