Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / prefetch-4.c
blobdc8e40aca27eb1417ca6245e2c90f7498d09768a
1 /* The loop rolls too little, hence the prefetching would not be useful. */
3 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
4 /* { dg-options "-O2 -fprefetch-loop-arrays -march=amdfam10 -fdump-tree-optimized" } */
6 int xxx[20];
8 void foo (int n)
10 int i;
12 for (i = 0; i < n; i++)
13 xxx[i] = i;
16 /* { dg-final { scan-tree-dump-times "prefetch" 0 "optimized" } } */