https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63213
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |8.0 Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This was just execusive unrolling of the two loops: while(p[ps1-1].y == cury) ps1--; while(p[ps2+1].y == cury) ps2++; That was fixed in GCC 8.