Offer a choice between trapping and wrapping for integer overflow/underflow #6815
Labels
compiler
General compiler. Should eventually become more specific as the issue is triaged
language feature
Core language features visible to end users
Currently overflow is treated as UB, but it is desirable to let the user pick a trapping behavior through some flag, and we should want to revisit defaults based on how strict we can be about the guarantee of detection as well as the practical performance impact.
The text was updated successfully, but these errors were encountered: