https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113374
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 57075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57075&action=edit Reduced C testcase Note I think there is a missed VRP removing some bounds check but this is not the issue here.