1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
3
f(int t,int a,int b)4 int f(int t, int a, int b)
5 {
6 int c, d;
7 if (t)
8 {
9 c = a;
10 d = a;
11 }
12 else
13 {
14 c = b;
15 d = b;
16 }
17 return c+d;
18 }
19
20 /* { dg-final { scan-tree-dump-times "PHI" 1 "fre1" } } */
21