]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/phi-opt-16.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-16.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 int foo (int a)
5 {
6 int c = 0;
7 if (a != 0)
8 c = __builtin_popcount (a);
9 return c;
10 }
11
12 /* { dg-final { scan-tree-dump-not "if" "optimized" } } */