https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35288
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Component|middle-end |tree-optimization Keywords| |missed-optimization --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If we use -fwrapv, then GCC is able to get it. THere might be a dup of this bug already too.