https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108912
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Wan-Teh Chang from comment #4) > Andrew: Thank you very much for the quick reply. > > I am also curious about the 15 number. Do you know why the compiler seems to > think cfg->stage_num_col and cfg->stage_num_row can be equal to 15? I.e., > why do the warnings go away if I increase the array size to 15? It is just an over-vectorization/unrolling of the loop. I am not 100% sure but I think it is the epilogue of the vectorized loop which is max of 15. That is the vector version of the loop can be 16 char at a time but the epilogue will be max 15 of size.