blob: 5cb47afdb5d7c5a09827c3c6d9885125a1f3dff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-pre" } */
int bar (int);
void baz (int);
int foo (int y)
{
int a, b;
a = bar (7) + 6;
b = bar (7) + 6;
return a + b;
}
/* { dg-final { scan-tree-dump-times "bar \\(" 2 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
|