https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77580
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-09-13 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- To some extend this is loop versioning. There is another bug where we don't need the versioning and GCC does not devirtualization the loop but I can't find it right now; this bug should depend on that bug. Anyways confirmed.