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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20011114-4.c
blob
516ef4f2325602915602a5a546dd2d8416847af8
1
static
inline
int
foo
(
long
x
)
2
{
3
register
int
a
=
0
;
4
register
unsigned
b
;
5
6
do
7
{
8
b
= (
x
&
0x7f
);
9
x
= (
x
>>
7
) | ~(-
1L
>>
7
);
10
a
+=
1
;
11
}
12
while
((
x
!=
0
|| (
b
&
0x40
) !=
0
) && (
x
!= -
1
|| (
b
&
0x40
) ==
0
));
13
return
a
;
14
}
15
16
static
inline
int
bar
(
unsigned long
x
)
17
{
18
register
int
a
=
0
;
19
register
unsigned
b
;
20
21
do
22
{
23
b
= (
x
&
0x7f
);
24
x
>>=
7
;
25
a
++;
26
}
27
while
(
x
!=
0
);
28
return
a
;
29
}
30
31
int
32
baz
(
unsigned long
x
,
int
y
)
33
{
34
if
(
y
)
35
return
foo
((
long
)
x
);
36
else
37
return
bar
(
x
);
38
}