libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / popcount6.c
blob1406ad9d33b1aa196506798151aee5c245819eff
1 // { dg-do compile }
2 // { dg-options "-O2 -fdump-tree-evrp" }
4 int g(int n)
6 n &= 0x8000;
7 if (n == 0)
8 return 1;
9 return __builtin_popcount(n);
12 // { dg-final { scan-tree-dump "return 1;" "evrp" } }