[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51879-6.c
blob42950668cbb5b9ecdb380f69d1818a3e43bcf758
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-tail-merge -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"} } */