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
/
pr66940.c
blob
fbd109dccc72c290d935d81a3f3dd219f11f908d
1
long long
__attribute__
((
noinline
,
noclone
))
2
foo
(
long long
ival
)
3
{
4
if
(
ival
<=
0
)
5
return
-
0x7fffffffffffffff
L
-
1
;
6
7
return
0x7fffffffffffffff
L
;
8
}
9
10
int
11
main
(
void
)
12
{
13
if
(
foo
(-
1
) != (-
0x7fffffffffffffff
L
-
1
))
14
__builtin_abort
();
15
16
if
(
foo
(
1
) !=
0x7fffffffffffffff
L
)
17
__builtin_abort
();
18
19
return
0
;
20
}