Can anyone provide some code examples that act differently when compiled with fwrapv vs without.
It says -fwrapv is supposed to "assume that signed arithmetic overflow of addition, subtraction, and multiplication, wraps using two's-complement representation."
But whenever I try overflowing the result is the same with or without fwrapv.