blob: 5fdf31929372ca39863943bfc8a8736909a3ee37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
int z;
void
foo (int y)
{
if (y == 6)
z = 5;
else
z = 5;
}
/* { dg-final { scan-tree-dump-times "z = 5" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
|