2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr40281.c
blobd242754a2bd39253e8d2b92a3694d6f48f8feab2
1 /* { dg-options "-O -fprefetch-loop-arrays -w" } */
2 /* { dg-options "-O -fprefetch-loop-arrays -march=i686 -msse -w" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
3 /* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
5 void foo(int);
6 void bar(int n)
8 int a[2], i, j = 0;
10 for (i = 0; i < 2; i += j+1)
11 for (j = 0; j < (n ? 1 : 2); ++j)
12 foo(a[i] + a[j]);