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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr69400.c
blob
e0eb521244d0d7713cf3bd6365f6185a8587504b
1
/* { dg-do run { target int128 } } */
2
3
typedef
unsigned
__int128 u128
;
4
5
u128
__attribute__
((
noinline
,
noclone
))
6
foo
(
void
)
7
{
8
u128 u
= -
2
;
9
u
%=
0xffffffffffffffff
llu
;
10
return
u
;
11
}
12
13
int
14
main
()
15
{
16
u128 x
=
foo
();
17
if
(
x
!=
0xfffffffffffffffe
llu
)
18
__builtin_abort
();
19
return
0
;
20
}