Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
phi-opt-18.c
blob: cf1aaf5c5683c0c797c1882091f67574cc429f62 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int
foo
(
int
a
)
{
int
c
=
0
;
if
(
a
!=
0
)
c
=
__builtin_popcount
(
a
);
else
c
=
1
;
return
c
;
}
/* { dg-final { scan-tree-dump-times "if " 1 "optimized" } } */