3 ms·
You're the one doing the hand waving here. There are absolutely cases where UB is important for the optimizer. Float to int overflow is not one of them.
by account42 3mo ago
You're the one doing the hand waving here. There are absolutely cases where UB is important for the optimizer. Float to int overflow is not one of them.
- aw1621107 3mo agoI think you might be misreading GP? They're basically agreeing with GGP ("so hopefully this gets sent to the sausage factory as well"); they're just saying that the process of actually changing the standard to remove (this kind of) UB is/has been rather challenging.