1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-phiopt1-details" } */
f(int a,int b)3 int f(int a, int b)
4 {
5    int c = b;
6    if (a != b)
7     c = a;
8    return c;
9 }
10 
11 /* Should have no ifs left after straightening.  */
12 /* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */
13