https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114027
--- Comment #9 from Robin Dapp <rdapp at gcc dot gnu.org> --- Argh, I actually just did a gcc -O3 -march=native pr114027.c -fno-vect-cost-model on cfarm188 with a recent-ish GCC but realized that I used my slightly modified version and not the original test case. long a; int b[10][8] = {{}, {}, {}, {}, {}, {}, {0, 0, 0, 0, 0, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1}}; int c; int main() { int d; c = 0xFFFFFFFF; for (; a < 6; a++) { d = 0; for (; d < 6; d++) { c ^= -3L; if (b[a + 3][d]) continue; c = 0; } } if (c == -3) { return 0; } else { return 1; } } This was from an initial attempt to minimize it further but I didn't really verify if I'm breaking the test case by that (or causing undefined behavior). With that I get a "1" with default options and "0" with -fno-tree-vectorize. Maybe my snippet is broken then?