Re:Tell HN: C Experts Panel – Ask us anything about C
by toasted_flakes on Tuesday April 14, 2020 @11:37AM
(#22867269)
Overflow of signed integers is undefined.
Unless the compiler can prove that `add` is never called with a and b values resulting in an overflow, this code can lead to UB, and, under your rules, the compilation aborts.
[ Parent
| on HN ]
There are no comments on this comment yet.