libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-27.c
blob11f85b91644879a6a3a0300445b5e0d8294c3e3e
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
4 _Bool f1(_Bool a, _Bool b)
6 if (a)
7 return b;
8 return 0;
12 /* There should be no if statements and be fold into just return a & b. */
13 /* { dg-final { scan-tree-dump-not "if" "optimized" } } */
14 /* { dg-final { scan-tree-dump-times " & " 1 "optimized" } } */