Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-9.c
blob7528abe3f3b604e4b78d692e293af7449fcf0940
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 int g(int,int);
5 int h(int);
6 int f(int t, int c)
8 int d = 0;
9 int e = 0;
10 if (t)
12 d = h(c);
13 e = t;
15 else d = 0, e = 0;
16 return g(e,d);
19 /* The value e should have been replaced with t and there should be only one PHI. */
20 /* { dg-final { scan-tree-dump "g .t_\[0-9\]*.D.," "optimized" } } */
21 /* { dg-final { scan-tree-dump-times "PHI" 1 "optimized" } } */