Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
popcount6.c
blob: 1406ad9d33b1aa196506798151aee5c245819eff [
file
] [
log
] [
blame
]
// { 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" } }