Add compile command to each testcase
[gcc-vect-testsuite.git] / pr49352.c
blob26f364b0cd461ba06840701ec21c01b21c83c180
1 /* PR tree-optimization/49352 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ftree-vectorize -fcompare-debug" } */
5 int
6 foo (int *x, int *y, int n)
8 int i, j;
9 int dot = 0;
10 for (i = 0; i < n; i++)
11 for (j = 0; j < 2; j++)
12 dot += *(x++) * *(y++);
13 return dot;