https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108397
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also: ``` int f(int a, int b) { int c = a == b; c = -c; return c <= -1; } ``` At `-O2 -fwrapv` is not optimized at the gimple level but is at the RTL level even.