Comment
Comment by mikewarot
Free Pascal (fpc) supports trapping on overflow, it uses the overflow flag and tests it after integer operations, it's pretty basic. Here's the assembly output of in Int64 add
It should be easy to support in C/C++, as FPC uses the same LLVM backend.