blob: dd9b4559006f5f8f4b7bd48a4189788e9966a562 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
int bar (int);
void baz (int);
void
foo (int y)
{
int a;
if (y)
baz (bar (7) + 6);
else
baz (bar (7) + 6);
}
/* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre"} } */
/* { dg-final { scan-tree-dump-times "baz \\(" 1 "pre"} } */