Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/phi-opt-16.c

raw
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" } } */