https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85143
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- i < n && i < 1337 Most likely should be converted over to i < MIN_EXPR(n, 1337). And then the MIN_EXPR can be pulled out of the loop and the optimizations can take care of the rest I think.