https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53090 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This might be fixed now with GCC 6. There has been many improvements to IVOPTs during GCC 6 time frame.