blob: 1406ad9d33b1aa196506798151aee5c245819eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { dg-do compile }
// { dg-options "-O2 -fdump-tree-evrp" }
int g(int n)
{
n &= 0x8000;
if (n == 0)
return 1;
return __builtin_popcount(n);
}
// { dg-final { scan-tree-dump "return 1;" "evrp" } }
|