https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77387
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- TYPE_UNSIGNED here is most likely not the correct check. TYPE_OVERFLOW_WRAPS is the more correct one so for -fwrapv, you get the check still.