2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr26600.c
blobbbe0663da7e07bde0bc24fc88d1e5299849ea0ac
1 /* { dg-do compile } */
2 /* { dg-options "-O -ftree-vectorize -msse2" } */
4 void foo(int *p, int N)
6 int i;
7 for (i=0; i<8; ++i, ++p)
9 int j = N+2*(N+p[0]), k = 2*N+p[0];
10 p[0] = j+N;
11 p[5] = j+k;