Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr65447.c
blobb30a639d2c1d11144a7b10207d38da3d4c082b15
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ivopts-details" } */
4 void foo (double *p)
6 int i;
7 for (i = -20000; i < 200000; i+= 40)
9 p[i+0] = 1.0;
10 p[i+1] = 1.0;
11 p[i+2] = 1.0;
12 p[i+3] = 1.0;
13 p[i+4] = 1.0;
14 p[i+5] = 1.0;
15 p[i+6] = 1.0;
16 p[i+7] = 1.0;
17 p[i+8] = 1.0;
18 p[i+9] = 1.0;
19 p[i+10] = 1.0;
20 p[i+11] = 1.0;
21 p[i+12] = 1.0;
22 p[i+13] = 1.0;
23 p[i+14] = 1.0;
24 p[i+15] = 1.0;
25 p[i+16] = 1.0;
26 p[i+17] = 1.0;
27 p[i+18] = 1.0;
28 p[i+19] = 1.0;
29 p[i+20] = 1.0;
30 p[i+21] = 1.0;
31 p[i+22] = 1.0;
32 p[i+23] = 1.0;
33 p[i+24] = 1.0;
34 p[i+25] = 1.0;
35 p[i+26] = 1.0;
36 p[i+27] = 1.0;
37 p[i+28] = 1.0;
38 p[i+29] = 1.0;
39 p[i+30] = 1.0;
40 p[i+31] = 1.0;
41 p[i+32] = 1.0;
42 p[i+33] = 1.0;
43 p[i+34] = 1.0;
44 p[i+35] = 1.0;
45 p[i+36] = 1.0;
46 p[i+37] = 1.0;
47 p[i+38] = 1.0;
48 p[i+39] = 1.0;
52 /* We should groups address type IV uses. */
53 /* { dg-final { scan-tree-dump-not "\\nuse 21\\n" "ivopts" } } */