Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040518-1.c
blob315a5ebf8d1541c5cbb89f6e5768cd3482583306
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-phiopt1-details" } */
3 int f(int a, int b)
5 int c = b;
6 if (a != b)
7 c = a;
8 return c;
11 /* Should have no ifs left after straightening. */
12 /* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */
13 /* { dg-final { cleanup-tree-dump "phiopt1" } } */