]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/phi-opt-32.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-32.c
CommitLineData
64d90d06
AP
1/* PR tree-optimization/99069 */
2/* { dg-do compile } */
3/* { dg-options "-O2 -fdump-tree-optimized-raw" } */
4
5_Bool f(_Bool x, _Bool y)
6{
7 return (x ? y : 0) ? x : 0;
8}
9
10
11/* { dg-final { scan-tree-dump-not "gimple_cond " "optimized" } } */
12/* { dg-final { scan-tree-dump-times "bit_and_expr," 1 "optimized" } } */