repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
941015-1.c
blob
38d4796645f66f55196760d0c5c8f68c60db0072
1
int
2
foo1
(
value
)
3
long long
value
;
4
{
5
register
const long long
constant
=
0xc000000080000000
LL
;
6
7
if
(
value
<
constant
)
8
return
1
;
9
else
10
return
2
;
11
}
12
13
int
14
foo2
(
value
)
15
unsigned long long
value
;
16
{
17
register
const unsigned long long
constant
=
0xc000000080000000
LL
;
18
19
if
(
value
<
constant
)
20
return
1
;
21
else
22
return
2
;
23
}
24
25
main
()
26
{
27
unsigned long long
value
=
0xc000000000000001
LL
;
28
int
x
,
y
;
29
30
x
=
foo1
(
value
);
31
y
=
foo2
(
value
);
32
if
(
x
!=
y
||
x
!=
1
)
33
abort
();
34
exit
(
0
);
35
}