Comment Comment by pratk Also, the UB can be mitigated with -fwrapv (if desired) to handle overflowing integers with 2's complement parent pratk 4 years ago