2 ms·
Subexpression evaluation order has nothing to do with traps and everything to do with optimisation. It is not like your CPU requires mandatory exclusive lock to
by anticensor 8y ago
Subexpression evaluation order has nothing to do with traps and everything to do with optimisation. It is not like your CPU requires mandatory exclusive lock to access a particular memory location.
- yuubi 8y agoI think we're talking past each other. I'm responding to the comment about the heuristic where for the most part trap (somewhere) means UB. Maybe it's UB only because implementation-specified is too onerous and it didn't seem to be worth defining a bounded "unpredictable result" behavior.