3 ms·
> Possible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution ...
by dwattttt 2y ago
> Possible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution ...
As much as I'm not a fan of the status quo, the argument that changing "Possible" back to "Permissible" isn't particularly solid; the rest of the paragraph makes it clear it's not an exhaustive list of behaviours, merely examples from a "range".
- mpweiher 2y agoYes, I agree that there are better solutions, this one is just minimal. The "range" clearly indicates that you can do something that's semantically in-between the options provided. What current compilers do is nowhere near that range.