remove unused files
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / pr51491-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ccp1" } */
3
4 int g (int *);
5
6 int
7 f (int n)
8 {
9   int tt = 0;
10   int t = 4;
11   {
12     int a[t
13           + (tt != 0 ? 6 : 0)
14          ];
15     tt = g (a);
16     {
17       int b[n];
18       tt += g (b);
19       if (n > 20)
20         tt += 148 * g (b);
21       tt += b[0];
22     }
23     tt += a[0];
24   }
25   {
26     int a[4];
27     tt += g (a);
28     tt += a[0];
29   }
30   return tt;
31 }
32
33 /* { dg-final { scan-tree-dump-times "CLOBBER" 2 "ccp1"} } */
34 /* { dg-final { cleanup-tree-dump "ccp1" } } */