Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51879-6.c
blob8362a170018f1afae31d66f3f6db1b838352246f
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre" } */
5 int bar (int);
6 void baz (int);
7 void bla (int);
9 void
10 foo (int y)
12 int a;
13 if (y == 6)
15 bla (5);
16 a = bar (7);
18 else
20 bla (5);
21 a = bar (7);
23 baz (a);
26 /* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre"} } */
27 /* { dg-final { cleanup-tree-dump "pre" } } */