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
2002-05-10 David S. Miller <davem@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
961122-1.c
blob
1f0a63463e15a41f6395bf094c4fbae277affb5f
1
long long
acc
;
2
3
addhi
(
short
a
)
4
{
5
acc
+= (
long long
)
a
<<
32
;
6
}
7
8
subhi
(
short
a
)
9
{
10
acc
-= (
long long
)
a
<<
32
;
11
}
12
13
main
()
14
{
15
acc
=
0xffff00000000
ll
;
16
addhi
(
1
);
17
if
(
acc
!=
0x1000000000000
ll
)
18
abort
();
19
subhi
(
1
);
20
if
(
acc
!=
0xffff00000000
ll
)
21
abort
();
22
exit
(
0
);
23
}