Post #2598511
2023-03-19 10:12 UTC
@saagar@federated.saagarjha.com Are you aware of an example (sorry!) where such an optimization is allowed to change the order of observable side effects (leaving aside UB)?
I'm fine with such optimizations and also wrote code that relies on them for performance, but at least if they don't trigger the local, observeable behaviour of the code would not change apart from being slower.
Replies (1)
-
@slomo@toot.cat 2023-03-19 10:55
@saagar@federated.saagarjha.com Oh sorry, I wrote runtime and meant to write behaviour.