Debian Codegraph @

gcc/testsuite/gcc.dg/fold-popcount-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-cddce1" } */
3
4 int test_combine(unsigned int a, unsigned int b)
5 {
6 return __builtin_popcount(a&8) + __builtin_popcount(b&2);
7 }
8
9 /* { dg-final { scan-tree-dump-times "popcount" 1 "cddce1" } } */
10