Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51879-4.c
blob5cb47afdb5d7c5a09827c3c6d9885125a1f3dff2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre" } */
4 int bar (int);
5 void baz (int);
7 int foo (int y)
9 int a, b;
10 a = bar (7) + 6;
11 b = bar (7) + 6;
12 return a + b;
15 /* { dg-final { scan-tree-dump-times "bar \\(" 2 "pre"} } */
16 /* { dg-final { cleanup-tree-dump "pre" } } */