3 ms·
Sounds like a lot of excuses for what is really a compiler bug that found its way into the spec.
by pizlonator 7y ago
Sounds like a lot of excuses for what is really a compiler bug that found its way into the spec.
- saagarjha 7y agoUndefined behavior is not a compiler bug: it's a necessity that is required to have language constructs that give you a way of doing things for which there is no good way to define the behavior of. Your compiler optimizes your code every day by concluding that you're not doing anything illegal: it would have a rather miserable time if it couldn't make these assumptions.