repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
popcount6.c
blob
1406ad9d33b1aa196506798151aee5c245819eff
1
// { dg-do compile }
2
// { dg-options "-O2 -fdump-tree-evrp" }
3
4
int
g
(
int
n
)
5
{
6
n
&=
0x8000
;
7
if
(
n
==
0
)
8
return
1
;
9
return
__builtin_popcount
(
n
);
10
}
11
12
// { dg-final { scan-tree-dump "return 1;" "evrp" } }