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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
950322-1.c
blob
28a1469fea0b820da2830a4a20f4ba312b2ccb4a
1
f
(
unsigned char
*
a
)
2
{
3
int
i
,
j
;
4
int
x
,
y
;
5
6
j
=
a
[
1
];
7
i
=
a
[
0
] -
j
;
8
if
(
i
<
0
)
9
{
10
x
=
1
;
11
y
= -
i
;
12
}
13
else
14
{
15
x
=
0
;
16
y
=
i
;
17
}
18
return
x
+
y
;
19
}
20
21
22
main
()
23
{
24
unsigned char
a
[
2
];
25
a
[
0
] =
8
;
26
a
[
1
] =
9
;
27
if
(
f
(
a
) !=
2
)
28
abort
();
29
exit
(
0
);
30
}