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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr85073.c
blob
187102d2f86f11202572decb09c0f338dc916a44
1
/* PR target/85073 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -mbmi" } */
4
5
int
6
foo
(
unsigned
x
)
7
{
8
int
c
=
0
;
9
while
(
x
)
10
{
11
c
+=
1
;
12
x
= (
x
-
1
) &
x
;
13
}
14
15
return
c
;
16
}
17
18
/* { dg-final { scan-assembler-times "test" 1 } } */