Hacker News new | ask | show | jobs
by daniel02216 4194 days ago
As of GCC 5, it has __builtin_add_overflow, __builtin_sub_overflow, __builtin_mul_overflow

https://gcc.gnu.org/gcc-5/changes.html